Commit graph

45 commits

Author SHA1 Message Date
Lance Edgar
e0b8797046 docs: update project links, kallithea -> forgejo 2024-09-14 13:20:04 -05:00
Lance Edgar
69ce07a778 docs: use markdown for readme file 2024-09-13 18:38:44 -05:00
Lance Edgar
df324159ba bump: version 0.3.1 → 0.3.2 2024-08-18 20:09:43 -05:00
Lance Edgar
9687c85529 fix: avoid deprecated base class for config extension 2024-08-16 13:32:56 -05:00
Lance Edgar
0521f5e38c bump: version 0.3.0 → 0.3.1 2024-07-01 14:00:10 -05:00
Lance Edgar
ff202415e3 fix: remove legacy command definitions 2024-07-01 12:32:20 -05:00
Lance Edgar
d419bc1854 bump: version 0.2.1 → 0.3.0 2024-06-10 19:31:34 -05:00
Lance Edgar
ffe33b20bc feat: switch from setup.cfg to pyproject.toml + hatchling 2024-06-10 19:31:21 -05:00
Lance Edgar
70f496893b Update changelog 2024-06-06 18:53:43 -05:00
Lance Edgar
5ae7db78a5 Add alembic scripts to project manifest 2024-06-06 18:53:15 -05:00
Lance Edgar
1cfd30a211 Fix default dist filename for release task
not sure why this fix was needed, did setuptools behavior change?
2024-06-06 18:17:31 -05:00
Lance Edgar
02298a7a29 Update changelog 2024-06-06 18:16:17 -05:00
Lance Edgar
8784579e27 Add typer equivalents for rattail commands 2024-05-16 19:22:38 -05:00
Lance Edgar
d7e840138b Update subcommand entry point group names, per wuttjamaican 2023-11-23 06:50:29 -06:00
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