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

Rework the tag system #654

Merged
merged 65 commits into from
May 14, 2024
Merged

Rework the tag system #654

merged 65 commits into from
May 14, 2024

Commits on Apr 1, 2024

  1. Rework the tag system

    - move column `tags` from `entry`, `entry_comment`, `post` and `post_comment` to its own table `hashtag` with a linking table `hashtag_link` which references the 4 tables. Migrating up and down should be possible without any hiccups via the migration
    - Adjust a lot of code to use the new code to get the linked hashtags
    - the hashtag table uses the `citext` type of psql. For it to work `citext` was added as a type and a mapping type to the doctrine configuration
    - add hashtag banning as an admin option. Posts which already exists with the banned hashtag are not shown anymore (they are in the tag timeline) and new posts which contain a banned hashtag throw an exception when created
    - add a hashtag panel, similar to the magazine panel. In the future subscriber count, subscribe button and block button can be added there as well
    - remove the formrow for defining hashtags which are not part of the body. This may be reverted, but the row always confused me
    - remove the hard coded related hashtags, it is an empty panel at the moment
    - made some adjustments in the `SearchRepository` to filter out banned hashtags and use the new `NativeQueryAdapter` which should improve the performance of it
    BentiGorlich committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    6939cba View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e076ca8 View commit details
    Browse the repository at this point in the history
  3. Fix unit test error

    - put the extract method and its dependencies in a class which can be constructed in our unit tests. The `TagManager` now depends on symfony classes...
    BentiGorlich committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    0f81514 View commit details
    Browse the repository at this point in the history
  4. Fix linter

    BentiGorlich committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    2fe70e4 View commit details
    Browse the repository at this point in the history
  5. Little sql tuning

    BentiGorlich committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    f4dd75a View commit details
    Browse the repository at this point in the history
  6. Little sql tuning 2

    - use the internal count method instead of iterating over the array
    BentiGorlich committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    66ab80a View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2024

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

Commits on Apr 3, 2024

  1. Configuration menu
    Copy the full SHA
    2dabcb9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4a0d2c6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e8fb274 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'main' into rework/tag-system

    debounced authored Apr 3, 2024
    Configuration menu
    Copy the full SHA
    6829fa1 View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2024

  1. Merge branch 'main' into rework/tag-system

    debounced authored Apr 4, 2024
    Configuration menu
    Copy the full SHA
    c70f0f5 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'main' into rework/tag-system

    debounced authored Apr 4, 2024
    Configuration menu
    Copy the full SHA
    e188929 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2024

  1. Merge branch 'main' into rework/tag-system

    debounced authored Apr 5, 2024
    Configuration menu
    Copy the full SHA
    00110ea View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2024

  1. Merge branch 'main' into rework/tag-system

    debounced authored Apr 6, 2024
    Configuration menu
    Copy the full SHA
    9e12a55 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'main' into rework/tag-system

    debounced authored Apr 6, 2024
    Configuration menu
    Copy the full SHA
    04d0535 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'main' into rework/tag-system

    debounced authored Apr 6, 2024
    Configuration menu
    Copy the full SHA
    27a3751 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'main' into rework/tag-system

    debounced authored Apr 6, 2024
    Configuration menu
    Copy the full SHA
    756cfad View commit details
    Browse the repository at this point in the history
  5. Merge branch 'main' into rework/tag-system

    debounced authored Apr 6, 2024
    Configuration menu
    Copy the full SHA
    da8efa6 View commit details
    Browse the repository at this point in the history
  6. Merge branch 'main' into rework/tag-system

    debounced authored Apr 6, 2024
    Configuration menu
    Copy the full SHA
    8a430a7 View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2024

  1. Merge branch 'main' into rework/tag-system

    debounced authored Apr 7, 2024
    Configuration menu
    Copy the full SHA
    4fe3b2b View commit details
    Browse the repository at this point in the history
  2. Fix a lot of API calls

    - add the tags rework to the API methods. This was partially done before, should be complete now
    BentiGorlich committed Apr 7, 2024
    Configuration menu
    Copy the full SHA
    ada8a49 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c789b74 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'main' into rework/tag-system

    debounced authored Apr 7, 2024
    Configuration menu
    Copy the full SHA
    a38b8fe View commit details
    Browse the repository at this point in the history
  5. Merge branch 'main' into rework/tag-system

    debounced authored Apr 7, 2024
    Configuration menu
    Copy the full SHA
    f2d9776 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2024

  1. Configuration menu
    Copy the full SHA
    9cfc994 View commit details
    Browse the repository at this point in the history
  2. Fix linter

    BentiGorlich committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    1747c61 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4cfc414 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'main' into rework/tag-system

    debounced authored Apr 8, 2024
    Configuration menu
    Copy the full SHA
    df5ab51 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d774581 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    15756eb View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    031a2fb View commit details
    Browse the repository at this point in the history
  8. Merge branch 'main' into rework/tag-system

    debounced authored Apr 8, 2024
    Configuration menu
    Copy the full SHA
    6910fd3 View commit details
    Browse the repository at this point in the history
  9. Merge branch 'main' into rework/tag-system

    debounced authored Apr 8, 2024
    Configuration menu
    Copy the full SHA
    11f6626 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2024

  1. Merge branch 'main' into rework/tag-system

    debounced authored Apr 9, 2024
    Configuration menu
    Copy the full SHA
    32f3b26 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5303088 View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2024

  1. Merge branch 'main' into rework/tag-system

    debounced authored Apr 10, 2024
    Configuration menu
    Copy the full SHA
    c3aac2f View commit details
    Browse the repository at this point in the history
  2. Merge branch 'main' into rework/tag-system

    debounced authored Apr 10, 2024
    Configuration menu
    Copy the full SHA
    0914080 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2024

  1. Merge branch 'main' into rework/tag-system

    debounced authored Apr 11, 2024
    Configuration menu
    Copy the full SHA
    261cdb2 View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2024

  1. Merge branch 'main' into rework/tag-system

    debounced authored Apr 12, 2024
    Configuration menu
    Copy the full SHA
    411e887 View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2024

  1. Merge branch 'main' into rework/tag-system

    debounced authored Apr 13, 2024
    Configuration menu
    Copy the full SHA
    d0253d6 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'main' into rework/tag-system

    debounced authored Apr 13, 2024
    Configuration menu
    Copy the full SHA
    5dbf9e7 View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2024

  1. Merge branch 'main' into rework/tag-system

    debounced authored Apr 14, 2024
    Configuration menu
    Copy the full SHA
    3afb8a6 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2024

  1. Fix the activity pub factories not getting tags

    - the factories for activity pub representation of entry, entry comment, post and post comment still used the `tags` property which no longer exists. They now expect to get an array of tags in the `create` method
    - remove the `TagInterface` as it no longer provides any value and was only used in entries anyway. The way to get the tags of anything is the `TagLinkRepository`
    BentiGorlich committed Apr 18, 2024
    Configuration menu
    Copy the full SHA
    d6414fb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    412b77f View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2024

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

Commits on Apr 21, 2024

  1. Merge branch 'main' into rework/tag-system

    debounced authored Apr 21, 2024
    Configuration menu
    Copy the full SHA
    3664f51 View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2024

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

Commits on Apr 25, 2024

  1. Merge branch 'main' into rework/tag-system

    debounced authored Apr 25, 2024
    Configuration menu
    Copy the full SHA
    02bb7de View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2024

  1. Merge branch 'main' into rework/tag-system

    debounced authored Apr 27, 2024
    Configuration menu
    Copy the full SHA
    b9968ff View commit details
    Browse the repository at this point in the history
  2. Merge branch 'main' into rework/tag-system

    debounced authored Apr 27, 2024
    Configuration menu
    Copy the full SHA
    f05de75 View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2024

  1. Merge branch 'main' into rework/tag-system

    debounced authored Apr 28, 2024
    Configuration menu
    Copy the full SHA
    8e966cf View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2024

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

Commits on May 1, 2024

  1. Merge branch 'main' into rework/tag-system

    debounced authored May 1, 2024
    Configuration menu
    Copy the full SHA
    665e91c View commit details
    Browse the repository at this point in the history

Commits on May 2, 2024

  1. Configuration menu
    Copy the full SHA
    6f7948a View commit details
    Browse the repository at this point in the history
  2. Merge branch 'main' into rework/tag-system

    debounced authored May 2, 2024
    Configuration menu
    Copy the full SHA
    e97f932 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2024

  1. Configuration menu
    Copy the full SHA
    5d1d829 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b8c2e77 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2024

  1. Merge branch 'main' into rework/tag-system

    debounced authored May 5, 2024
    Configuration menu
    Copy the full SHA
    60bc2dc View commit details
    Browse the repository at this point in the history
  2. Merge branch 'main' into rework/tag-system

    debounced authored May 5, 2024
    Configuration menu
    Copy the full SHA
    7063a5b View commit details
    Browse the repository at this point in the history

Commits on May 11, 2024

  1. Merge branch 'main' into rework/tag-system

    debounced authored May 11, 2024
    Configuration menu
    Copy the full SHA
    89d1f31 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8236e8e View commit details
    Browse the repository at this point in the history

Commits on May 13, 2024

  1. Configuration menu
    Copy the full SHA
    f942214 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0b07eb7 View commit details
    Browse the repository at this point in the history
  3. Fix lint

    melroy89 committed May 13, 2024
    Configuration menu
    Copy the full SHA
    e4869c4 View commit details
    Browse the repository at this point in the history