Skip to content
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.

Feature/poll rewrite #211

Open
wants to merge 96 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 90 commits
Commits
Show all changes
96 commits
Select commit Hold shift + click to select a range
225a4b5
Added new permissions
Jun 27, 2022
6681aef
Rewrote en.yml with more translation-strings
Jun 27, 2022
194fb03
Added settings.py
Jun 27, 2022
400ec67
Added models for polls, options on polls and user who voted on options
Jun 27, 2022
e1932e7
Added models for role weights and function to sync redis
Jun 27, 2022
26359f9
Improved constants
Jun 27, 2022
93e9e21
Improved PollOption-class
Jun 27, 2022
807c067
Added class for creating select-views
Jun 27, 2022
5f58558
Removed re-import + add function for calculating percentages on polls
Jun 27, 2022
bd623c6
Added function to send wizzard embed for helping to setup polls
Jun 27, 2022
d708bf1
Added function to get a parser for parsing args from messages
Jun 27, 2022
e1bb5bd
Added function to calc endtime for polls
Jun 27, 2022
8528cb9
Added function to handle deleted poll messages
Jun 27, 2022
7042eef
Added function to check if a poll is still open
Jun 27, 2022
24eaa17
Added function to close polls and handle messages relating to polls
Jun 27, 2022
d577756
Added function to get a list of all team-members
Jun 27, 2022
ae44190
Added function edit polls
Jun 27, 2022
6a8e889
Added MySelect-object to create custom callbacks for polls
Jun 27, 2022
7e5d09f
Added function to send polls
Jun 27, 2022
6195a5b
Removed function for getting team-poll-embeds
Jun 27, 2022
9b90bdb
Added Infinity into Contributor list
Jun 27, 2022
05b56a6
Removed old functions for message reactions and old commands from Cog
Jun 27, 2022
fdaf86f
Added startup-function to check if polls can be closed and reactivate…
Jun 27, 2022
d2b88ac
Added functions to handle deleted or edited messages containing polls
Jun 27, 2022
d5c05b8
Added loop to check if a poll can be closed
Jun 27, 2022
b6a83dc
Added poll-group-command + fixed indentation
Jun 27, 2022
c620f54
Added command to show all active polls
Jun 27, 2022
91e7db5
Added command to delete polls
Jun 27, 2022
b438bf3
Added command to see who voted on a poll
Jun 27, 2022
3615dc3
Added command-group for settings
Jun 27, 2022
0b8594f
Added settings command to change the weight for certain roles
Jun 27, 2022
af76860
Added settings command to change the default duration for polls
Jun 27, 2022
d89a4ac
Added settings command to change the maximum duration for polls
Jun 27, 2022
9b18c10
Added settings command to change the maximum amount of votes per user…
Jun 27, 2022
cb99896
Added settings command to change the maximum amount of votes per user…
Jun 27, 2022
26c6230
Added settings command to change if default polls should be anonymous…
Jun 27, 2022
4bac601
Added settings command to change if default polls should be fair or not
Jun 27, 2022
270cfeb
Added command to create quick polls with default settings
Jun 27, 2022
0f2567e
Added command to create new polls with more advanced settings
Jun 27, 2022
2167312
Added simple yes-no-poll
Jun 27, 2022
9129371
Added advanced yes-no-poll for team-members
Jun 27, 2022
47bf102
Fixed imports + formatted code
Jun 27, 2022
6e5de48
Rewrote endtime now using seconds instead datetimes (untested) + adde…
Jun 28, 2022
b85fb6b
Fixed small mistake
Jun 28, 2022
956ce4a
Resolved issues in code
Jun 28, 2022
d815af7
Added command barebones for team-polls
Jun 28, 2022
2913553
Removed option for team-polls from argparse
Jun 28, 2022
bb04917
Added more command placeholders for team-polls
Jun 29, 2022
cfcefb1
Added poll-list for team-polls and reworked sorting for poll-list
Jun 29, 2022
bf62323
Added option for RoleWeights on team-polls
Jun 29, 2022
1f48ee4
Reworked new-poll command now without team option
Jun 29, 2022
d9cdf93
Added thread_id to poll model
Jun 29, 2022
9ab5a5a
Added function that will notify missing team-members on polls every d…
Jun 29, 2022
3a2a651
Footer on edit has now the new endtime for team-polls too
Jun 29, 2022
07c965f
Added commands to pause/unpause (standard) polls
Jun 29, 2022
7b36c61
Improved pausing/unpausing of polls
Jun 29, 2022
91e2625
Improved code
Jun 29, 2022
a81596b
Improved code
Jun 29, 2022
f6e5b42
Added first view for pie-chart
Jun 29, 2022
b142f85
Added function for sending a pi-chart for the first 10 votes
Jun 30, 2022
eb03b6e
Improved embed
Jun 30, 2022
4a53d81
Improved pie-chart
Jun 30, 2022
18f41d8
Fixed plt error, recognizing the last chart
Jun 30, 2022
581495b
Improved pie-chard (donut)
Jun 30, 2022
35bebe9
Changed donut-color
Jun 30, 2022
bf05bd7
Changed donut-color
Jun 30, 2022
fdebc0f
Changed donut, now showing up to 25 pieces
Jul 1, 2022
2d07c68
Added title into picture
Jul 1, 2022
07d1ccd
Changed style of donut
Jul 1, 2022
2668ad3
Removed get_percentage function + removed the percentage from options
Jul 1, 2022
29f9671
Added check if poll is still running before showing the result
Jul 2, 2022
893ea4d
Sorted imports
Jul 2, 2022
95f9a02
Adeed TODO's + fixed settings for team_yn
Jul 2, 2022
80b3c8b
Added ignore command for members on team-polls
Jul 2, 2022
6ec4b6b
Rewrote en.yml for better reading
Jul 2, 2022
39acf21
Added more TODO's
Jul 4, 2022
7d40d97
Reworked poll-sending
Jul 17, 2022
119bd12
Reworked pause/unpause + fixed duration of polls
Jul 24, 2022
966a3e3
Improved editing of embeds, now only for team-polls
Jul 25, 2022
46cb7c2
Added command for accepting/rejecting team polls + addedoptional perm…
Jul 25, 2022
4a6460a
Merge branch 'develop' into feature/poll_rewrite
Jul 25, 2022
4dba95f
Added close command for polls + fixed show_results-function
Jul 26, 2022
ccafbac
Fixed PermissionErrors
Jul 26, 2022
1400564
Improved codestyle
Jul 29, 2022
5c4a14a
Renamed Settings into shorter names
Jul 29, 2022
682a319
Removed most default settings (wont be used anyways)
Jul 29, 2022
afb5d50
Formatted code, fixed typing, cleared translation
Jul 29, 2022
cd95762
improved argparse + added option for weights and allowed roles
Aug 1, 2022
402fdb1
Fixed permissions for poll delete command
Aug 1, 2022
aa4aa32
removed can_delete for polls
Aug 1, 2022
302bb68
Akzeptanzkriterien für einen besseren Abgleich mit dem Code erstellt.
Tristan-H11 Aug 1, 2022
fbf4bd2
Added weights and allowed role to polls
Aug 2, 2022
e6e0684
Improved code + fixed calculation of the poll end-time
Aug 9, 2022
d20407c
Removed Akzeptanzkriterien.txt (was added to pr)
Aug 22, 2022
90a050d
Fixed end_time calculation
Aug 23, 2022
beedaa0
Removed old code
Aug 27, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading