Commit Graph
68 Commits
Author SHA1 Message Date
b4tman 6e7c3cb7b2 fmt sync_calendar 2020-03-08 13:10:42 +03:00
b4tman 0f9a8d7a74 lint sync 2020-03-07 18:34:31 +03:00
b4tman 0161d65c16 lint ical 2020-03-07 18:29:35 +03:00
b4tman 9e74772852 lint gcal 2020-03-07 18:26:37 +03:00
b4tman 8d64869f06 lint manage_calendars 2020-03-07 18:14:34 +03:00
b4tman ab00cb09c8 + manage_calendars: list hidden & deleted 2020-03-07 18:05:51 +03:00
b4tman b0a39a1b8c manage_calendars: use nextPageToken for list
By default maximum number of entries returned on one result page is 100
2020-03-07 17:54:16 +03:00
b4tman 55b67469be + manage_calendars: get\set calendar properties 2020-03-07 17:41:05 +03:00
b4tman c17d3cd0ea manage_calendars: no config file required 2020-03-07 16:21:48 +03:00
b4tman 9aad7e1910 make service even when config is None 2020-03-07 16:14:47 +03:00
b4tman 5d37aa2a33 disable cache_discovery
to suppress errors in logs:
file_cache is unavailable when using oauth2client >= 4.0.0

https://github.com/googleapis/google-api-python-client/issues/299
https://github.com/googleapis/google-api-python-client/issues/325
2020-02-25 22:43:45 +03:00
b4tman d146eec7ae + default credentials support
https://googleapis.dev/python/google-auth/latest/reference/google.auth.html#google.auth.default

https://developers.google.com/identity/protocols/application-default-credentials
2020-02-20 17:37:31 +03:00
b4tman 3ecd6695cf update README 2020-02-20 12:39:53 +03:00
b4tman a96050628a Feature: setup (#15)
* add files for setup

* ! package rename

* move scripts

* + setuptools_scm_git_archive

* + fallback_version

* + setuptools_scm_git_archive to setup.cfg

* bdist_wheel universal

* ignore build/ and .eggs/

* don't use version from setuptools_scm

* Revert "don't use version from setuptools_scm"

This reverts commit 7ad0b4d3d8.

* Revert "bdist_wheel universal"

This reverts commit 5027866b39.

* no-local-version

* +workflow: Upload Python Package
2020-02-19 23:26:28 +03:00
b4tman fcba8f07ef add python 3.8 2020-02-01 13:26:13 +03:00
b4tman cff48fba07 add Python package build status 2019-09-04 11:13:02 +03:00
b4tman f06051d06c add GitHub Actions 2019-09-04 10:27:09 +03:00
b4tman b542f80d83 drop python 2.7 build (travis) 2019-07-23 19:53:41 +03:00
b4tman 87ffa78ccc add 'rename' command 2019-07-23 19:49:59 +03:00
b4tman a39e08db12 safe_load instead of load (yaml)
https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load(input)-Deprecation
2019-07-09 12:30:50 +03:00
b4tman 3320a72942 Dependabot badge 2019-06-07 21:25:35 +03:00
b4tman be8bd70743 Merge branch 'develop' 2019-06-03 22:05:23 +03:00
b4tman f46e5c9345 python 3.7 (travis) 2019-06-03 21:59:36 +03:00
b4tman 9a3799a031 update requirements.txt 2019-06-03 21:56:28 +03:00
b4tman 5ce77fd0f4 update PyYAML 2019-04-09 09:12:03 +03:00
b4tman 770d56acc8 update requirements.txt 2019-03-06 15:56:34 +03:00
b4tman 881abe22f6 Merge branch 'develop'
* develop:
  fix requirements.txt
  migrate to google-auth from oauth2client
  update requirements.txt
  + [how it works] in README
2018-09-25 16:19:35 +03:00
b4tman 969f2ed793 fix requirements.txt 2018-07-12 13:36:47 +03:00
b4tman 5afb97b634 migrate to google-auth from oauth2client 2018-07-12 13:30:37 +03:00
b4tman d11f057381 update requirements.txt 2018-07-10 17:14:28 +03:00
b4tman 56eef850db + [how it works] in README 2018-04-21 15:23:48 +03:00
b4tman e16a4828e4 Merge branch 'develop' 2018-04-17 23:10:30 +03:00
b4tman c759d0b696 Merge branch 'feature/pytest' into develop 2018-04-17 23:03:13 +03:00
b4tman 94edbf1849 parametrize test_filter_events_by_date 2018-04-17 22:53:56 +03:00
b4tman c38a3afe00 test_sync rewrite using pytest 2018-04-17 22:41:14 +03:00
b4tman 508ddedb2c min data in test_converter 2018-04-17 22:35:00 +03:00
b4tman 7aa3e754ea test_converter rewrite using pytest
event start/end tests united, using pytest.fixture
2018-04-17 16:01:21 +03:00
b4tman ec45665a4c test_imports removed 2018-04-15 23:44:00 +03:00
b4tman dddde78b8a autopep8 2018-04-15 23:41:50 +03:00
b4tman 648e418177 fix filter events with start['date'] 2018-04-11 23:38:12 +03:00
b4tman a5a97dd263 add test for filter events with start['date'] 2018-04-11 23:37:14 +03:00
b4tman 53115e5e34 Merge branch 'develop'
* develop:
  rewrite callback for batch requests
  rewrite date/dateTime conversion func's
  performance fix in compare
  remove old test module
  fix sets in events_list_compare
  performance fix in get_item
  more items in comparison test
2018-04-11 17:15:34 +03:00
b4tman 87a8deafed rewrite callback for batch requests 2018-04-11 15:41:08 +03:00
b4tman c34b4cdb21 rewrite date/dateTime conversion func's 2018-04-11 13:57:48 +03:00
b4tman 8ea8512c11 performance fix in compare
zip()'ing sorted lists is like 10x faster
( 1.56 seconds instead of 15.05 in test_compare, part_len=5000 )
2018-04-11 12:36:37 +03:00
b4tman 8eb94089a7 remove old test module 2018-04-11 11:36:23 +03:00
b4tman 2e49e49d0a fix sets in events_list_compare
(cherry picked from commit 1cd7baf08c)
2018-04-11 10:44:55 +03:00
b4tman ebd88322d7 performance fix in get_item 2018-04-11 10:18:08 +03:00
b4tman ff4512fa00 more items in comparison test 2018-04-11 10:15:04 +03:00
b4tman 9a71bb8035 fix for python 2.7 2018-04-10 09:26:45 +03:00
b4tman ada9ff547b add Travis CI 2018-04-10 09:16:38 +03:00
b4tman e2d92458d3 add shuffle to sync tests 2018-04-09 15:08:45 +03:00
b4tman 0c145bca07 fix incorrect updates of events
make list of events 'to_update' by pairing items instead of zip()'ing unordered lists
2018-04-09 13:21:51 +03:00
b4tman 63f1998df9 Revert "fix sets in events_list_compare"
To fix the problem with the appearance of duplicate events

This reverts commit 1cd7baf08c.
2018-04-09 12:31:23 +03:00
b4tman 1cd7baf08c fix sets in events_list_compare 2018-04-07 20:37:24 +03:00
b4tman 5d84728de3 fix README 2018-04-07 19:44:27 +03:00
b4tman 1dee19a55d + add_owner in manage script 2018-04-07 19:19:18 +03:00
b4tman 27c2f60979 print usage in manage script 2018-04-07 19:17:03 +03:00
b4tman 6cf4888c72 add manage calendars script 2018-04-07 19:12:18 +03:00
b4tman f7c06ca935 add requirements.txt 2018-04-07 17:39:21 +03:00
b4tman 909361ce90 add sync tests 2018-04-07 17:25:09 +03:00
b4tman 85172efa17 add converter tests 2018-04-07 16:04:04 +03:00
b4tman 4ebe9a964a add some tests 2018-04-05 21:39:22 +03:00
b4tman c282cb61e8 create/delete calendar 2018-04-05 20:37:09 +03:00
b4tman 26e35c1b68 fix docs 2018-04-05 20:25:17 +03:00
b4tman cc75f522d4 fix Partial Response fields 2018-04-05 14:25:31 +03:00
b4tman 4f16b8f66b convert start_date in prepare_sync 2018-04-05 14:08:51 +03:00
b4tman 3ef89e6d32 Initial commit 2018-04-05 11:16:20 +03:00