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

v2.5.0 #322

Merged
merged 23 commits into from
Apr 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
95e2217
add question to group category table (#308)
MartinBenediktBusch Apr 10, 2024
f7eb342
Add group id to registrations (#307)
diegoalzate Apr 10, 2024
f430436
add registrations router to api router
diegoalzate Apr 10, 2024
2f4d439
add router for categories (#310)
diegoalzate Apr 11, 2024
f9d1d91
extract registration data from handler (#312)
diegoalzate Apr 11, 2024
e2eebb1
fix only bringing one registration for an event (#316)
diegoalzate Apr 12, 2024
8be6a35
Fix typo in events.ts (#317)
camilovegag Apr 12, 2024
702208b
Update vote service to allow for different grouping dimensions when c…
MartinBenediktBusch Apr 12, 2024
c00587c
Add secret code service (#313)
diegoalzate Apr 12, 2024
367024c
Fix registrations creating new groups (#318)
diegoalzate Apr 12, 2024
a1a025b
Merge pull request #309 from lexicongovernance/next-v2.5.0
diegoalzate Apr 12, 2024
627de3e
Bump to version 2.5.0 prerelease
diegoalzate Apr 12, 2024
2ef48f9
Merge pull request #321 from lexicongovernance/bot/open-2.5.0-prerelease
diegoalzate Apr 12, 2024
e1915ec
Diego/hide fields on group registration (#323)
diegoalzate Apr 15, 2024
bc736c6
Support groups without secret (#326)
diegoalzate Apr 16, 2024
fe53fda
Remove the handling of null values (#324)
MartinBenediktBusch Apr 16, 2024
799ff38
Add alerts (#328)
diegoalzate Apr 16, 2024
d1db1b8
fix build command (#329)
diegoalzate Apr 16, 2024
dcd6761
seed a group with group category secrets (#330)
MartinBenediktBusch Apr 16, 2024
bfbf6d5
fix groupId not saving (#331)
diegoalzate Apr 16, 2024
afafdfd
add for_user and for_group in registration field (#338)
diegoalzate Apr 18, 2024
77b8d41
Limit one registration per group (#339)
diegoalzate Apr 18, 2024
6d21fb1
adds better validation for fields and register field options in seed …
diegoalzate Apr 19, 2024
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
4 changes: 0 additions & 4 deletions assets/groups.example.csv

This file was deleted.

26 changes: 26 additions & 0 deletions migrations/0015_shiny_black_knight.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
CREATE TABLE IF NOT EXISTS "questions_to_group_categories" (
"id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL,
"question_id" uuid NOT NULL,
"group_category_id" uuid,
"created_at" timestamp DEFAULT now() NOT NULL,
"updated_at" timestamp DEFAULT now() NOT NULL
);
--> statement-breakpoint
ALTER TABLE "registrations" ADD COLUMN "group_id" uuid;--> statement-breakpoint
DO $$ BEGIN
ALTER TABLE "registrations" ADD CONSTRAINT "registrations_group_id_groups_id_fk" FOREIGN KEY ("group_id") REFERENCES "groups"("id") ON DELETE no action ON UPDATE no action;
EXCEPTION
WHEN duplicate_object THEN null;
END $$;
--> statement-breakpoint
DO $$ BEGIN
ALTER TABLE "questions_to_group_categories" ADD CONSTRAINT "questions_to_group_categories_question_id_forum_questions_id_fk" FOREIGN KEY ("question_id") REFERENCES "forum_questions"("id") ON DELETE no action ON UPDATE no action;
EXCEPTION
WHEN duplicate_object THEN null;
END $$;
--> statement-breakpoint
DO $$ BEGIN
ALTER TABLE "questions_to_group_categories" ADD CONSTRAINT "questions_to_group_categories_group_category_id_group_categories_id_fk" FOREIGN KEY ("group_category_id") REFERENCES "group_categories"("id") ON DELETE no action ON UPDATE no action;
EXCEPTION
WHEN duplicate_object THEN null;
END $$;
4 changes: 4 additions & 0 deletions migrations/0016_ambitious_rictor.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
ALTER TABLE "group_categories" ADD COLUMN "user_can_create" boolean DEFAULT false NOT NULL;--> statement-breakpoint
ALTER TABLE "group_categories" ADD COLUMN "user_can_view" boolean DEFAULT false NOT NULL;--> statement-breakpoint
ALTER TABLE "groups" ADD COLUMN "secret" varchar(256);--> statement-breakpoint
ALTER TABLE "groups" ADD CONSTRAINT "groups_secret_unique" UNIQUE("secret");
1 change: 1 addition & 0 deletions migrations/0017_jazzy_revanche.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE "registration_fields" ADD COLUMN "display_on_group_registration" boolean DEFAULT false;
11 changes: 11 additions & 0 deletions migrations/0018_abandoned_mongoose.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
CREATE TABLE IF NOT EXISTS "alerts" (
"id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL,
"title" varchar(256) NOT NULL,
"description" varchar(1024),
"link" varchar(256),
"start_at" timestamp,
"end_at" timestamp,
"active" boolean DEFAULT false,
"created_at" timestamp DEFAULT now() NOT NULL,
"updated_at" timestamp DEFAULT now() NOT NULL
);
2 changes: 2 additions & 0 deletions migrations/0019_nifty_wallow.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ALTER TABLE "registration_fields" RENAME COLUMN "display_on_group_registration" TO "for_group";--> statement-breakpoint
ALTER TABLE "registration_fields" ADD COLUMN "for_user" boolean DEFAULT true;
Loading
Loading