Michael Stenta
|
152f356cec
|
Increment the farmOS API version to 1.4.
|
2020-08-21 11:40:22 -04:00 |
Michael Stenta
|
cd59223f4c
|
Include list of installed languages in /farm.json.
|
2020-08-21 11:40:15 -04:00 |
Michael Stenta
|
e28dd5de25
|
Add language to farm.json.
|
2020-08-13 10:16:59 -04:00 |
Michael Stenta
|
8158d9535e
|
Use farm_term() in place of taxonomy_get_term_by_name().
|
2020-06-02 08:43:25 -04:00 |
Michael Stenta
|
0b33e9bcaf
|
Only add fields that start with the "field_farm_" prefix to the field alias map.
|
2020-05-31 20:45:33 -04:00 |
Michael Stenta
|
cbecbd4f0f
|
Expand comments around the single vs multiple value term reference field name processing.
|
2020-05-27 09:18:21 -04:00 |
paul121
|
8419ec694a
|
Check for name key to determine if a single value term reference field was supplied.
|
2020-05-27 09:17:53 -04:00 |
Michael Stenta
|
de736afad1
|
Fix PHP Notice: Undefined offset: 0 in farm_api_restws_request_alter()
|
2020-05-19 15:53:06 -04:00 |
Michael Stenta
|
c47fc86cf6
|
Add special logic for auto-creating terms by name in the "unit" field in "Quantity" field collections.
|
2020-05-16 10:55:50 -04:00 |
Michael Stenta
|
7a06a289be
|
Fix API term creation for fields that only accept a single term (eg: field_farm_season).
|
2020-05-11 19:20:36 -04:00 |
Michael Stenta
|
8cf270502f
|
Fix term filter for terms with numeric names (eg: Season term of "2020").
|
2020-05-11 19:19:51 -04:00 |
Paul Weidner
|
6a872fc88c
|
Provide a farmOS Default OAuth client.
|
2020-05-11 10:48:40 -04:00 |
Paul Weidner
|
41283012d7
|
Allow OAuth clients to override some server-level settings.
|
2020-05-11 10:48:40 -04:00 |
Michael Stenta
|
274c1f6567
|
Bump the farmOS API version to 1.3.
|
2020-05-11 10:48:19 -04:00 |
pcambra
|
2d91f6287a
|
Issue #3134067 by pcambra: Restws: POSTing a new log should autocreate the term by name
|
2020-05-11 09:45:22 -04:00 |
pcambra
|
ffcf06f81c
|
Issue #3134065 by pcambra: Restws: Taxonomy terms should have a name property besides the tid
|
2020-05-11 08:45:27 -04:00 |
Michael Stenta
|
580b3f3440
|
Limit the term lookup by vocabulary.
|
2020-05-11 08:21:12 -04:00 |
pcambra
|
529599244f
|
Issue #3134066 by pcambra: Restws: Allow filtering by term name, not only term id
|
2020-05-11 08:21:05 -04:00 |
Michael Stenta
|
7da2be9b82
|
Disable farmOS OAuth2 clients when modules that provide them are disabled.
|
2020-03-25 11:28:45 -04:00 |
Michael Stenta
|
3826a57959
|
Automatically enable farmOS OAuth2 clients when the module that provides them is enabled.
|
2020-03-25 11:23:50 -04:00 |
Michael Stenta
|
77f0257157
|
Create a farm_api_enable_oauth_client() helper function.
|
2020-03-25 09:46:19 -04:00 |
Michael Stenta
|
a44290677d
|
Document farm_api_check_scope() return value.
|
2020-03-24 11:56:54 -04:00 |
Michael Stenta
|
e5ef44f2fc
|
Specify that admin/config/farm/oauth is farmOS-specific in the title and description.
|
2020-03-24 11:56:54 -04:00 |
Michael Stenta
|
6043edaf07
|
Remove unnecessary 'file path' from hook_menu().
|
2020-03-24 11:56:54 -04:00 |
Michael Stenta
|
aa4192c28e
|
Rename 'administer oauth clients' permission to 'administer farm api oauth clients'.
|
2020-03-24 11:56:54 -04:00 |
Michael Stenta
|
54317e2743
|
Whitespace.
|
2020-03-24 11:56:54 -04:00 |
paul121
|
37ebfcad3a
|
Create separate farm_api_development module for development with OAuth.
|
2020-03-24 11:56:39 -04:00 |
paul121
|
999d26b4ed
|
Refactor to use hook_install and hook_uninstall not disable and enable.
|
2020-03-24 11:56:39 -04:00 |
paul121
|
e8455708f0
|
Remove unnecessary variable.
|
2020-03-24 11:56:39 -04:00 |
paul121
|
8a097a0e32
|
Remove redundant variable defining oauth2_server_name.
|
2020-03-24 11:56:39 -04:00 |
paul121
|
a64de67dda
|
Merge farm_api_oauth into farm_api.
|
2020-03-24 11:56:39 -04:00 |
Paul Weidner
|
986d87d33f
|
Update farm_api_farm_info to require the farm_info scope for basic info.
|
2020-03-24 07:21:08 -04:00 |
Paul Weidner
|
ae37a1a71c
|
Update the farm.json endpoint to check for OAuth Scopes.
|
2020-03-24 07:21:08 -04:00 |
Michael Stenta
|
9f86cb0099
|
Increment the farmOS API version to 1.2, now that entity field info is available in /farm.json.
|
2020-01-22 14:49:58 -05:00 |
Michael Stenta
|
beb14d984c
|
Issue #3043569: API field aliasing overrides existing fields
|
2019-04-24 17:13:53 -04:00 |
Michael Stenta
|
dcc8ea8ffd
|
Remove extraneous argument from farm_api_farm_info().
|
2019-04-15 12:49:09 -04:00 |
Michael Stenta
|
01f2da224e
|
Bump the FARM_API_VERSION to 1.1.
|
2019-04-01 15:56:53 -04:00 |
Michael Stenta
|
686a5c96cf
|
Invoke hook_farm_info() to collect info for /farm.json.
|
2019-04-01 15:56:53 -04:00 |
Michael Stenta
|
858b7f9900
|
Make sure that farm_api's implementation of hook_restws_request_alter() runs before restws_file's.
|
2019-03-13 10:05:56 -04:00 |
Michael Stenta
|
30710d5d9a
|
Add an api_version property to /farm.json.
|
2019-03-07 12:28:36 -05:00 |
Michael Stenta
|
2a98a288ee
|
Issue #2991398: Remove field_farm_ namespace from field names in API requests.
|
2019-03-07 12:28:36 -05:00 |
Michael Stenta
|
1c39bb754d
|
Add information about the currently authenticated user to /farm.json.
|
2019-02-18 12:01:49 -05:00 |
Michael Stenta
|
b30ca150ac
|
Issue #3029581: API endpoint for general farm info
|
2019-01-30 17:32:37 -05:00 |
Michael Stenta
|
610f08a484
|
Initial commit of farm_api module.
|
2018-08-15 10:44:45 -04:00 |