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

Add tag weights #19

Merged
merged 28 commits into from Feb 11, 2022
Merged

Add tag weights #19

merged 28 commits into from Feb 11, 2022

Commits on Mar 21, 2020

  1. Add tag weights

    Louis committed Mar 21, 2020
    Copy the full SHA
    3b3e9ee View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2020

  1. Copy the full SHA
    9d9b66e View commit details
    Browse the repository at this point in the history
  2. Compute tag counts only if necessary

    Louis committed Mar 22, 2020
    Copy the full SHA
    c4204f6 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2020

  1. typo

    Louis committed Mar 29, 2020
    Copy the full SHA
    1e9d758 View commit details
    Browse the repository at this point in the history
  2. Replace arguments a and b by lower and upper

    Louis committed Mar 29, 2020
    Copy the full SHA
    53508fe View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    10b9213 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    1f3b141 View commit details
    Browse the repository at this point in the history
  5. Fix tag count

    Louis committed Mar 29, 2020
    Copy the full SHA
    16e8c5b View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    4b13f0d View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2020

  1. Add AUTHORS and LICENSE files

    Louis committed Mar 30, 2020
    Copy the full SHA
    586029e View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    464f52c View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2020

  1. [tag weights] Even with lektor server, tag weights are re-calculate…

    …d at each build
    Louis committed Apr 2, 2020
    Copy the full SHA
    2a59bce View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2020

  1. Add comment

    Louis committed Apr 3, 2020
    Copy the full SHA
    4f49660 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2022

  1. Merge branch 'master' into weights

    Louis committed Feb 9, 2022
    Copy the full SHA
    0c3407d View commit details
    Browse the repository at this point in the history
  2. The primary data structure is a mapping of tag names to TagWeight() o…

    …bjects (instead of a TagWeights() object).
    
    See lektor#19 (comment)
    Louis committed Feb 9, 2022
    Copy the full SHA
    95e0f25 View commit details
    Browse the repository at this point in the history
  3. Update authors

    Louis committed Feb 9, 2022
    Copy the full SHA
    e7d43cc View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2022

  1. Update documentation to match 95e0f25

    Louis committed Feb 10, 2022
    Copy the full SHA
    388268c View commit details
    Browse the repository at this point in the history
  2. Apply black and reorder-python-imports

    Louis committed Feb 10, 2022
    Copy the full SHA
    63aa420 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    8637745 View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2022

  1. Turn TagWeight into a dataclass

    Louis committed Feb 11, 2022
    Copy the full SHA
    8d010e9 View commit details
    Browse the repository at this point in the history
  2. TagWeight ordering: Use functools.total_ordering; raise NotImplemente…

    …dError if comparing an object of another class
    Louis committed Feb 11, 2022
    1
    Copy the full SHA
    d2b6899 View commit details
    Browse the repository at this point in the history
  3. Return {} if there is not tags

    Louis committed Feb 11, 2022
    Copy the full SHA
    6be1c9d View commit details
    Browse the repository at this point in the history
  4. Cosmetic change to the way TagWeight.linear() and TagWeight.log() are…

    … computed
    Louis committed Feb 11, 2022
    Copy the full SHA
    91f5da1 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    e1cfa91 View commit details
    Browse the repository at this point in the history
  6. TagWeight: Do not fail with pages without any tags (or with a tag fie…

    …ld of a wrong type)
    Louis committed Feb 11, 2022
    Copy the full SHA
    cf9753a View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    b98be0f View commit details
    Browse the repository at this point in the history
  8. Copy the full SHA
    d55baa8 View commit details
    Browse the repository at this point in the history
  9. Fix TagWeight rich comparison methods

    - Actually apply the `@total_ordering` decorator to the class :-)
    - Check type of `other` in `__eq__`
    - Return `NotImplemented` rather than raise `NotImplementedError`
    dairiki committed Feb 11, 2022
    Copy the full SHA
    e2f8f4d View commit details
    Browse the repository at this point in the history