Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config revamp #82

Merged
merged 15 commits into from
Oct 4, 2022
Merged

Config revamp #82

merged 15 commits into from
Oct 4, 2022

Commits on Sep 28, 2022

  1. Set up a new config format

    johndgiese committed Sep 28, 2022
    Configuration menu
    Copy the full SHA
    76d6cb0 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2022

  1. Configuration menu
    Copy the full SHA
    ec5f4ec View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2022

  1. Allow multiple exports using a configuration file

    See the README changelog for more context.
    
    In addition, note that the code that is related to exporting notion
    objects to files is now placed in `export.py`. Previously it had been
    shared between `notion.py`, `page.py`, `main.py`, and `database.py`.
    
    This refactor simplifies the `Client` class and greatly reduces the
    number of configuration items we need to pass into it. It also makes the
    separation of concerns cleaner.
    johndgiese committed Sep 30, 2022
    Configuration menu
    Copy the full SHA
    712a4d7 View commit details
    Browse the repository at this point in the history
  2. Reload all plugins for each export

    This solution is simple, although it may have perforamance issues. Note
    that the `importlib.import_module` uses the internal python module
    cache.
    johndgiese committed Sep 30, 2022
    Configuration menu
    Copy the full SHA
    773d38f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f974c7b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    dbb131c View commit details
    Browse the repository at this point in the history
  5. Fix bugs in merge

    johndgiese committed Sep 30, 2022
    Configuration menu
    Copy the full SHA
    879c411 View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2022

  1. Fix accidentally committed code

    I'm not sure how the tests are passing
    johndgiese committed Oct 1, 2022
    Configuration menu
    Copy the full SHA
    59ce791 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2022

  1. Add support for emojis

    johndgiese committed Oct 4, 2022
    Configuration menu
    Copy the full SHA
    0f6f4a5 View commit details
    Browse the repository at this point in the history
  2. Small logger update

    johndgiese committed Oct 4, 2022
    Configuration menu
    Copy the full SHA
    b309374 View commit details
    Browse the repository at this point in the history
  3. Small improvements to error messages

    - Provide a link back to the database that you don't have permission to
    - Suggest switching nested databases into a simple table
    johndgiese committed Oct 4, 2022
    Configuration menu
    Copy the full SHA
    5f048fc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ba1b96a View commit details
    Browse the repository at this point in the history
  5. Address PR comments

    johndgiese committed Oct 4, 2022
    Configuration menu
    Copy the full SHA
    a0a2b14 View commit details
    Browse the repository at this point in the history
  6. Add a bigger example to the README

    Note that the UUIDs are fake
    johndgiese committed Oct 4, 2022
    Configuration menu
    Copy the full SHA
    3362f97 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    cdfcda5 View commit details
    Browse the repository at this point in the history