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

Push fix to COMP6843 missing from course aliases #210

Open
wants to merge 80 commits into
base: projects-bot
Choose a base branch
from

Conversation

Domin0de
Copy link
Member

@Domin0de Domin0de commented Dec 4, 2024

No description provided.

imagine-hussain and others added 30 commits February 22, 2023 12:14
* migrate from insou api to circles for the handbook commands

* remove trailing forward slash in handbook.json

* handbook: the handbook is fixed

* Update handbook.js

commented out a console.log

---------

Co-authored-by: tunein <[email protected]>
Co-authored-by: zcDay1 <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* projects-descriptions v1 commit

* project-descriptions command v2 commit

* linting fixes for project-descriptions.js, and for handbook.js

---------

Co-authored-by: AcdSoftCo <[email protected]>
…ch every course role with permissions to view and send messages in any text channel with identical name. Please review and test before merging
… to attach every course role with permissions to view and send messages in any text channel with identical name. Please review and test before merging"

This reverts commit 2f59c71.
* rolesPermOverride command is a script or one-time use command to attach every course role with permissions to view and send messages in any text channel with identical name. Please review and test before mergin

* BUGGY CODE but still progress over the previous commit, I will come back this evening to fix

* rolesPermOverride command: now admin-only command, and I've tested it for various cases regarding if a channel exists, if a role exists for a channel that doesnt exist, if there are two channels with the same name as a role and vice versa, and it works without error

---------

Co-authored-by: AcdSoftCo <[email protected]>
* rolesPermOverride command is a script or one-time use command to attach every course role with permissions to view and send messages in any text channel with identical name. Please review and test before mergin

* BUGGY CODE but still progress over the previous commit, I will come back this evening to fix

* rolesPermOverride command: now admin-only command, and I've tested it for various cases regarding if a channel exists, if a role exists for a channel that doesnt exist, if there are two channels with the same name as a role and vice versa, and it works without error

* course.js: removed code to create individual user permission overwrites in each channel

---------

Co-authored-by: AcdSoftCo <[email protected]>
* project-descriptions.js: updated course descriptions written by the directors for 2023 levelling up with Projects Fair Day, and the discord bot CTF flag easter egg entry under this command included too for this event.

* made messages ephemeral to prevent chat from being spammed by users. And got rid of link embeds in the messages.

* lint update

---------

Co-authored-by: AcdSoftCo <[email protected]>
* course-chat-fix-2, make new roles where there arent any in /rolespermoverride and also remove individual permission overwrites, and also updates to /course join to catch when there doesn't exist a role for a course and also /course leave to attempt to remove individual permission overwrites along with removing course role PLEASE TEST THOROUGHLY AND INSPECT CODE THOROUGHLY. I wrote this ASAP and haven't got time to properly review it.

* Modified functions for course channel fixes

* Check for if user only has read perms for overwrite replacing and fix looping over members

* Fix to functionality of iteration and editing roles

* Fix to initial working state

* Fix linting

* Additional fixes to ordering and component operations to remove role and individual permissions correctly

* Appended filter for both view only perms and view + send messages perms

---------

Co-authored-by: AcdSoftCo <[email protected]>
Co-authored-by: Wolfdragon24 <[email protected]>
* course-chat-fix-2, make new roles where there arent any in /rolespermoverride and also remove individual permission overwrites, and also updates to /course join to catch when there doesn't exist a role for a course and also /course leave to attempt to remove individual permission overwrites along with removing course role PLEASE TEST THOROUGHLY AND INSPECT CODE THOROUGHLY. I wrote this ASAP and haven't got time to properly review it.

* Modified functions for course channel fixes

* Check for if user only has read perms for overwrite replacing and fix looping over members

* Fix to functionality of iteration and editing roles

* Fix to initial working state

* Fix linting

* Additional fixes to ordering and component operations to remove role and individual permissions correctly

* Appended filter for both view only perms and view + send messages perms

* Appended single channel mode for permissions override

* Appended check command for role permissions

* Resolved merge conflicts in dev/course-channel-fix-4

---------

Co-authored-by: AcdSoftCo <[email protected]>
Co-authored-by: Wolfdragon24 <[email protected]>
double equals updated to triple equals on line 156
* Accounting for non-channel returns associated to snowflakes

* Utilise cache directly as fetch falls back to a cache call anyway
* Upgraded handbook url in config.json to use 2024. Also fixed incorrect url links in the handbook.js command.

* Fixed eslint warnings
… "None") (#165)

* Upgraded handbook url in config.json to use 2024. Also fixed incorrect url links in the handbook.js command.

* Fixed eslint warnings

* Fixed equivalent courses urls being listed
* update: checking if perms work

* Chron job set for every minute, basic embed added and structure for the locations and sub locations created

* Updated README

* Implemented area voting system

* Ran linting and prettier for current changes

* Appending location poll for given area, and vote counting for both area and locations

* Implemented functional voting system for area and location, creating thread upon completion of set

* Used await and cleaned up a bit of code, thread now adds all voters not only the ones who voted for the winning area

* Lint fix

* Removed promises and adjusted placement of vote function calls

* Adjusted thread users, append location vote pings

* Linting fixes

* Locations Update

* Adds "any" option and append additional vote info

* Appended code for live run timing

* Update to use config file

* Allow disabling of feature without editing code and disable

* Minor adjustment to readme and npm commands

* Appended clarifying comment regarding edge case of only any votes

---------

Co-authored-by: mi-mott <[email protected]>
* completed csesocLinks command

* linting

* Refactor execute function to use arrow functions

* linting
* Adding bot-status for events and member count

* Fixing lint errors

* Adding fixes to how member count is calculated

---------

Authored-by: Eric <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Domin0de and others added 28 commits June 28, 2024 19:52
* initial travelguide add subcommand

* fixing formatting

* fixing syntax error

* added get function

* linting

* completed travelguide command

* linting

* adding deletion confirmation

* linting

* migrating travelguide.json to postgres

* linting

* linting

---------

Co-authored-by: Jessica Xu <[email protected]>
* Added database implementation of user roles when assigned and removed

* Added time checking function for expired user_roles and added time assigned column to user_roles table

* Added on ready file with cron.js to perform daily check of old_roles

* Adding new package cron for scheduling

* fixing lint issues

* Fixing prettier issues

* Package changes

* Restoring develop package lock.json and fixing db_ready

* Moving guild and roles out of for loop to remove redundant fetching
* Implementation of user join and leave logging and admin command to facilitate replacing old db table

* Complete implementation of rejoin notices
* Update permission field to use new reference

* Fix function call name

* Fixes to allow functioning of admin delete command
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@Domin0de Domin0de requested a review from a team as a code owner December 4, 2024 03:24
@Domin0de Domin0de had a problem deploying to production (projects-bot) December 4, 2024 03:25 — with GitHub Actions Failure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.