enbas/internal
Dan Anglin eb016b96e9
fix(BREAKING): update poll interaction
Summary:

This commit updates and enhances poll interaction. From now on users
will interact with a poll via the status that contains it. Direct
interaction with the poll (via the poll's ID) is no longer supported.
This helps resolve an issue where it wasn't possible to find the owner
of the poll when interacting with it directly.

Changes:

- Users can no longer view a poll directly using the Poll ID.
  Instead polls can be viewed when viewing statuses or timelines.
- More details about a poll is shown in statuses and timelines.
- Votes are now added to polls via statuses.
- Poll results are hidden unless the following conditions are met.
    - The user is the owner of the poll.
    - The poll has expired.
    - The user has already voted in the poll.
- Enbas can now detect and stop a poll owner from voting in their own
  poll.
- When a status is created Enbas will now only print the ID of the
  created status instead of the whole thing.

PR: apollo/enbas#43

Resolves apollo/enbas#39
2024-08-14 11:29:30 +01:00
..
client fix(BREAKING): update poll interaction 2024-08-14 11:29:30 +01:00
config chore: REUSE.toml 2024-08-01 04:01:38 +01:00
executor fix(BREAKING): update poll interaction 2024-08-14 11:29:30 +01:00
flag feat: add Enbas CLI schema and code generator 2024-08-13 14:53:26 +01:00
media feat: add all-images and all-videos flags 2024-08-01 04:24:47 +01:00
model chore: REUSE.toml 2024-08-01 04:01:38 +01:00
printer fix(BREAKING): update poll interaction 2024-08-14 11:29:30 +01:00
usage feat: add Enbas CLI schema and code generator 2024-08-13 14:53:26 +01:00
utilities chore: REUSE.toml 2024-08-01 04:01:38 +01:00
version feat: add Enbas CLI schema and code generator 2024-08-13 14:53:26 +01:00
internal.go chore: REUSE.toml 2024-08-01 04:01:38 +01:00