Commit Graph

145 Commits

Author SHA1 Message Date
Justin Foell 7621c5ca65 Don't retry unless using refresh auth 2019-09-21 21:43:52 -05:00
Justin Foell 9d8e071f96 Load API IDs in Settings constructor
Make sure auth token is correct for Client ID
Add a one-time 404 auth_refresh and retry
2019-09-21 17:59:40 -05:00
Justin Foell bfca681199 Merge branch 'master' into feature/refresh-auth 2019-09-13 12:13:44 -05:00
Justin Foell 3985244ffa Updated to 1.7.2 2019-08-02 15:58:28 -05:00
Justin Foell 4a9b531fa6 Added scale=2 to maps image 2019-08-02 15:57:14 -05:00
Justin Foell adf1612a39 Cleaned up @author 2019-08-02 14:57:22 -05:00
Justin Foell 3e14f06a48 Fix issue with activities longer than 24h 2019-08-02 14:56:49 -05:00
Justin Foell 8444866558 Added setting to hide elevation 2019-08-02 14:23:46 -05:00
Justin Foell 9bd5380043 Updated settings method documentation. 2019-08-02 11:54:40 -05:00
Justin Foell 408454ad3a Updated readme 2019-08-02 10:40:43 -05:00
Justin Foell 74f1970937 Switch calls from get_default_token() to get_default_id() 2019-08-02 10:36:36 -05:00
Justin Foell 520bd1b649 Switch calls to use Client ID instead of Access Token 2019-06-03 16:07:15 -05:00
Justin Foell 33c0deb870 Merge branch 'master' into feature/refresh-auth 2019-06-03 14:48:27 -05:00
Justin Foell b4cacb6f14 Updated instruction regarding id=NUMBER in shortcode 2019-06-03 14:44:50 -05:00
Justin Foell cfdf3aae9e Added refresh cron and refresh method 2019-06-03 14:27:14 -05:00
Justin Foell 15de60d764 Moved from token being the identifier to Client ID 2019-04-01 16:21:13 -05:00
Justin Foell 2265e73f83 Renamed lib to includes 2019-04-01 15:17:27 -05:00
Justin Foell 3ce9d26e88 Auth WIP 2019-04-01 14:50:36 -05:00
Justin Foell 823fff522b Updated 1.7.1 2019-03-01 15:24:48 -06:00
Justin Foell 047a6af897 Merge pull request #27 from cmanon/feature/hide-time
Added Hide Time option;
2019-03-01 15:24:12 -06:00
Justin Foell d831bc4534 Added Hide Time option;
Fixed author tags
2019-03-01 15:21:02 -06:00
Justin Foell 4027e3bc97 Merge pull request #25 from cmanon/feature/wp_mock-tests
Feature/wp mock tests
2019-03-01 12:33:09 -06:00
Justin Foell 85e75c5bde (Re)add tests directory to PHPCS checks;
Fix formatting in tests
2019-03-01 12:28:31 -06:00
Justin Foell a4e041805d Added System of Measure (Metric) unit tests;
Reworked swimpace() function to show min:sec
2019-03-01 12:23:34 -06:00
Justin Foell c5fdb24244 Added System of Measure (English) unit tests;
Fixed a bug in pace formatting
2019-03-01 11:41:41 -06:00
Justin Foell cf1af2a0b2 Merge branch 'master' into feature/wp_mock-tests 2019-03-01 10:23:47 -06:00
Justin Foell 4f24d8dd0a Updated features for 1.7.0 in readme.txt 2019-02-01 14:28:32 -06:00
Justin Foell 62b104ae66 Updated readme.txt with image_only flag 2019-02-01 14:27:15 -06:00
Justin Foell c67eb55f34 Merge pull request #23 from cmanon/feature/responsive-table
Feature/responsive table
2019-02-01 14:24:13 -06:00
Justin Foell 38e1502702 Update 1.7.0 functions and readme.txt 2019-02-01 14:22:25 -06:00
Justin Foell 9813dc2aec Add missing documentation 2019-02-01 14:17:22 -06:00
Justin Foell 629d8c3c59 Add image_only flag to [route] shortcode;
Refine table addition
2019-02-01 14:16:28 -06:00
Justin Foell 7298a73671 Moved activity table into separate method 2019-02-01 13:19:47 -06:00
Justin Foell 5a8b3730de Merge branch 'master' into feature/responsive-table 2019-02-01 13:00:26 -06:00
Justin Foell f0fec9e407 Merge pull request #22 from cmanon/feature/pace-support
Feature/pace support
2019-02-01 12:50:56 -06:00
Justin Foell 27f2699e96 Moved pace functions to base SOM class 2019-02-01 12:48:19 -06:00
Justin Foell 4f66886832 Added image_only flag to [activity] shortcode 2019-02-01 11:59:00 -06:00
Justin Foell b95e8356ac Reworked formatting and variable names to comply with WPCS 2018-11-09 15:18:27 -06:00
Justin Foell 660308aa6b Added unit test README 2018-11-09 13:45:37 -06:00
sebastianerb 2e371fde3c fixed calculation bug in pace calculation 2018-10-16 17:33:01 +02:00
sebastianerb b3ab401b7f Added Pace support
Added Swimpace support
2018-10-16 17:18:31 +02:00
Justin Foell 438f849fad Scaffolded unit tests 2018-09-21 10:28:46 -05:00
Justin Foell 947b26faeb Bumped versions for release 2018-06-22 09:09:58 -05:00
Justin Foell 50865bbbd2 Added WPStrava Exception
Consolidated error handling
2018-04-27 21:19:27 -05:00
Justin Foell 7ad681cd1b Removed composer autoloader for custom SPL one 2018-04-27 17:04:12 -05:00
Justin Foell cfa65ec068 Updated composer file and phpcs rules 2018-04-06 16:19:22 -05:00
Justin Foell 71060c35b0 Added extended timeout to all API requests
Bumped version
Fixed spelling errors
2018-03-29 10:44:58 -05:00
Justin Foell 5797d2b639 Increased API post timeout to 30 seconds
Simplified access token logic
2018-03-29 08:49:40 -05:00
Justin Foell e2a5ccae6d Update readme and bump version 2018-03-28 09:05:14 -05:00
Justin Foell a025970dbd Add Authentication Failed debug
Switch to rawurlencode()
2018-03-28 09:04:45 -05:00