Commit graph

31 commits

Author SHA1 Message Date
Lance Edgar da408a66bb Update changelog 2023-11-18 23:25:16 -06:00
Lance Edgar 9bf9a17bf6 Fix version table index names 2023-10-23 17:37:46 -05:00
Lance Edgar bdb8b22ef4 Add some support for datasync, and deleting times from Harvest 2023-10-08 20:38:25 -05:00
Lance Edgar fe0daf00bc Add logic to fetch single Harvest time entry via API
for one-off imports
2023-10-05 09:50:12 -05:00
Lance Edgar aa87ce57be Rename all tables/models for Harvest "cache"
make this more explicit, for better naming convention
2023-10-04 15:54:52 -05:00
Lance Edgar 509405cb34 Let Harvest API -> Harvest cache importer fetch single host object
for one-off imports via web app
2023-10-04 13:08:29 -05:00
Lance Edgar e58d843ee4 Fix (more) start/end date defaults for importers, per upstream changes 2023-09-25 13:26:58 -05:00
Lance Edgar 2f21e574ae Fix start/end date defaults for importers, per upstream changes 2023-09-24 09:23:31 -05:00
Lance Edgar 2fa7ef5e71 Grow all ID fields for Harvest cache tables
turns out Integer is not big enough, need BigInteger
2023-08-08 11:05:15 -05:00
Lance Edgar d508ca225b Replace setup.py contents with setup.cfg 2023-05-16 13:09:08 -05:00
Lance Edgar 44574d9ea6 Avoid deprecated import for OrderedDict 2023-05-05 01:55:53 -05:00
Lance Edgar 0164336784 Fix date filter for rattail <-> rattail sync of HarvestTimeEntry 2023-01-17 16:10:48 -06:00
Lance Edgar e239ea70e4 Stop importing certain fields for HarvestUser cache table
since the Harvest API is suddenly no longer providing the values
2022-11-14 17:43:26 -06:00
Lance Edgar 782cb1fcec Fix API call to return all Harvest Projects 2022-07-01 12:46:06 -05:00
Lance Edgar 03066f1135 Add basic support for updating a Harvest Time Entry via API 2022-03-06 11:09:59 -06:00
Lance Edgar d84cc7a9d9 Add config extension to define importers 2022-02-28 22:05:34 -06:00
Lance Edgar 0ee4d52145 Lower log level when harvest time entry still running during import
that is not exactly an unexpected situation, no need to raise
awareness to it probably
2022-02-22 12:02:58 -06:00
Lance Edgar c6332be453 Add stop_time_entry() API method 2022-02-20 21:15:48 -06:00
Lance Edgar d8e9714771 Avoid entries w/ timer still running when exporting to Harvest
i.e. ignore entries on Harvest, which have timer running
2022-02-17 07:39:29 -06:00
Lance Edgar e79686b5b7 Avoid importing Harvest times for which timer is still running 2022-02-17 06:57:36 -06:00
Lance Edgar ac653d25f1 Add convenience function to get configured Harvest URL 2022-02-11 19:16:03 -06:00
Lance Edgar caa1ef93b7 Add version importers for Harvest cache models 2022-02-09 16:11:32 -06:00
Lance Edgar 63d238d307 Coalesce HarvestUser telephone to null 2022-01-31 10:37:33 -06:00
Lance Edgar 14f9dfdaa9 Add client_id field for TimeEntry export to Harvest 2022-01-30 20:28:24 -06:00
Lance Edgar 1f54ddc9e4 Add 'id' key field for exporting TimeEntry to Harvest 2022-01-30 19:36:04 -06:00
Lance Edgar ec78f8c9c4 Add HarvestUser.person association
importer does not set this; you must do so manually
2022-01-30 17:40:19 -06:00
Lance Edgar 3883a8551f Add HarvestProject.deleted flag to track deletions in Harvest
set this flag instead of deleting project, so we do not lose other
info about it.  can delete manually if truly unwanted
2022-01-30 12:14:42 -06:00
Lance Edgar 259d3b0f33 Allow import of harvest time entries w/ missing project 2022-01-29 19:33:03 -06:00
Lance Edgar 2a0c9bf015 Update changelog 2022-01-29 16:15:33 -06:00
Lance Edgar 2eb6b1e516 Add rattail<->rattail importers for harvest cache tables 2022-01-29 16:11:32 -06:00
Lance Edgar 66864e6f67 Initial commit, w/ cache tables and importers 2022-01-29 14:50:25 -06:00