From 0bac2c257a67ecd51844184b9ae7b8b977376ef2 Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Sun, 22 Jan 2023 13:43:54 +0100 Subject: [PATCH] Add Copyright --- lib/main.dart | 19 +++++++++++++++++++ lib/src/app.dart | 19 +++++++++++++++++++ lib/src/components/components.dart | 19 +++++++++++++++++++ lib/src/components/date_time_editor.dart | 19 +++++++++++++++++++ lib/src/components/error.dart | 19 +++++++++++++++++++ lib/src/delegates/delegates.dart | 19 +++++++++++++++++++ lib/src/delegates/gamemode.dart | 19 +++++++++++++++++++ lib/src/delegates/groups.dart | 19 +++++++++++++++++++ lib/src/delegates/map.dart | 19 +++++++++++++++++++ lib/src/delegates/schematic_type.dart | 19 +++++++++++++++++++ lib/src/delegates/team.dart | 19 +++++++++++++++++++ lib/src/delegates/user.dart | 19 +++++++++++++++++++ lib/src/dialogs/create_event_dialog.dart | 19 +++++++++++++++++++ lib/src/dialogs/dialogs.dart | 19 +++++++++++++++++++ lib/src/provider/data.dart | 19 +++++++++++++++++++ lib/src/provider/events.dart | 19 +++++++++++++++++++ lib/src/provider/http.dart | 19 +++++++++++++++++++ lib/src/provider/mods.dart | 19 +++++++++++++++++++ lib/src/provider/provider.dart | 19 +++++++++++++++++++ lib/src/provider/user.dart | 19 +++++++++++++++++++ lib/src/repositories/event.dart | 19 +++++++++++++++++++ lib/src/repositories/mod.dart | 19 +++++++++++++++++++ lib/src/screens/event/bracket_generator.dart | 19 +++++++++++++++++++ .../event/components/dialogs/add_fight.dart | 19 +++++++++++++++++++ .../event/components/dialogs/dialogs.dart | 19 +++++++++++++++++++ .../event/components/dialogs/edit_fight.dart | 19 +++++++++++++++++++ .../screens/event/components/fight_list.dart | 19 +++++++++++++++++++ .../event/components/loaded_event.dart | 19 +++++++++++++++++++ .../event/components/team_selector.dart | 19 +++++++++++++++++++ lib/src/screens/event/event.dart | 19 +++++++++++++++++++ lib/src/screens/event/event_fights_graph.dart | 19 +++++++++++++++++++ lib/src/screens/home/home.dart | 19 +++++++++++++++++++ lib/src/screens/home/lists/events_list.dart | 19 +++++++++++++++++++ lib/src/screens/home/lists/mod_list.dart | 19 +++++++++++++++++++ lib/src/screens/login/login.dart | 19 +++++++++++++++++++ lib/src/screens/settings/userinfo.dart | 19 +++++++++++++++++++ lib/src/types/event.dart | 19 +++++++++++++++++++ lib/src/types/mods.dart | 19 +++++++++++++++++++ lib/src/types/schematic.dart | 19 +++++++++++++++++++ lib/src/types/types.dart | 19 +++++++++++++++++++ lib/src/types/user.dart | 19 +++++++++++++++++++ lib/src/types/user_data.dart | 19 +++++++++++++++++++ lib/src/util/constants.dart | 19 +++++++++++++++++++ lib/src/util/event_fight_exporter.dart | 19 +++++++++++++++++++ web/index.html | 19 +++++++++++++++++++ 45 files changed, 855 insertions(+) diff --git a/lib/main.dart b/lib/main.dart index 935629f..e869025 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -1,3 +1,22 @@ +/* + * This file is a part of the SteamWar software. + * + * Copyright (C) 2023 SteamWar.de-Serverteam + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import 'package:flutter/material.dart'; import 'package:hooks_riverpod/hooks_riverpod.dart'; import 'package:steamwar_multitool/src/app.dart'; diff --git a/lib/src/app.dart b/lib/src/app.dart index 6987870..d9132c9 100644 --- a/lib/src/app.dart +++ b/lib/src/app.dart @@ -1,3 +1,22 @@ +/* + * This file is a part of the SteamWar software. + * + * Copyright (C) 2023 SteamWar.de-Serverteam + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import 'package:flutter/material.dart'; import 'package:go_router/go_router.dart'; import 'package:steamwar_multitool/src/screens/event/event.dart'; diff --git a/lib/src/components/components.dart b/lib/src/components/components.dart index 5e279ad..b4effc7 100644 --- a/lib/src/components/components.dart +++ b/lib/src/components/components.dart @@ -1,2 +1,21 @@ +/* + * This file is a part of the SteamWar software. + * + * Copyright (C) 2023 SteamWar.de-Serverteam + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + export 'date_time_editor.dart'; export 'error.dart'; diff --git a/lib/src/components/date_time_editor.dart b/lib/src/components/date_time_editor.dart index c3a2185..41f4c9b 100644 --- a/lib/src/components/date_time_editor.dart +++ b/lib/src/components/date_time_editor.dart @@ -1,3 +1,22 @@ +/* + * This file is a part of the SteamWar software. + * + * Copyright (C) 2023 SteamWar.de-Serverteam + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import 'package:flutter/material.dart'; import 'package:hooks_riverpod/hooks_riverpod.dart'; import 'package:steamwar_multitool/src/util/constants.dart'; diff --git a/lib/src/components/error.dart b/lib/src/components/error.dart index 177c40e..d9a9bf0 100644 --- a/lib/src/components/error.dart +++ b/lib/src/components/error.dart @@ -1,3 +1,22 @@ +/* + * This file is a part of the SteamWar software. + * + * Copyright (C) 2023 SteamWar.de-Serverteam + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import 'package:flutter/material.dart'; class ErrorComponent extends StatelessWidget { diff --git a/lib/src/delegates/delegates.dart b/lib/src/delegates/delegates.dart index 1836dee..b6d4c9f 100644 --- a/lib/src/delegates/delegates.dart +++ b/lib/src/delegates/delegates.dart @@ -1,3 +1,22 @@ +/* + * This file is a part of the SteamWar software. + * + * Copyright (C) 2023 SteamWar.de-Serverteam + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + export 'gamemode.dart'; export 'groups.dart'; export 'map.dart'; diff --git a/lib/src/delegates/gamemode.dart b/lib/src/delegates/gamemode.dart index 5b1481c..ababdc9 100644 --- a/lib/src/delegates/gamemode.dart +++ b/lib/src/delegates/gamemode.dart @@ -1,3 +1,22 @@ +/* + * This file is a part of the SteamWar software. + * + * Copyright (C) 2023 SteamWar.de-Serverteam + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import 'package:flutter/material.dart'; class GamemodeSearchDelegate extends SearchDelegate { diff --git a/lib/src/delegates/groups.dart b/lib/src/delegates/groups.dart index 4817169..f8556a1 100644 --- a/lib/src/delegates/groups.dart +++ b/lib/src/delegates/groups.dart @@ -1,3 +1,22 @@ +/* + * This file is a part of the SteamWar software. + * + * Copyright (C) 2023 SteamWar.de-Serverteam + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import 'package:flutter/material.dart'; class GroupSearchDelegate extends SearchDelegate { diff --git a/lib/src/delegates/map.dart b/lib/src/delegates/map.dart index 3f0d064..8e8fbaf 100644 --- a/lib/src/delegates/map.dart +++ b/lib/src/delegates/map.dart @@ -1,3 +1,22 @@ +/* + * This file is a part of the SteamWar software. + * + * Copyright (C) 2023 SteamWar.de-Serverteam + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import 'package:flutter/material.dart'; class MapSearchDelegate extends SearchDelegate { diff --git a/lib/src/delegates/schematic_type.dart b/lib/src/delegates/schematic_type.dart index cf57373..ac31fe4 100644 --- a/lib/src/delegates/schematic_type.dart +++ b/lib/src/delegates/schematic_type.dart @@ -1,3 +1,22 @@ +/* + * This file is a part of the SteamWar software. + * + * Copyright (C) 2023 SteamWar.de-Serverteam + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import 'package:flutter/material.dart'; import 'package:steamwar_multitool/src/types/types.dart'; diff --git a/lib/src/delegates/team.dart b/lib/src/delegates/team.dart index 6f0ac09..15042a3 100644 --- a/lib/src/delegates/team.dart +++ b/lib/src/delegates/team.dart @@ -1,3 +1,22 @@ +/* + * This file is a part of the SteamWar software. + * + * Copyright (C) 2023 SteamWar.de-Serverteam + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import 'package:flutter/material.dart'; import 'package:steamwar_multitool/src/types/types.dart'; diff --git a/lib/src/delegates/user.dart b/lib/src/delegates/user.dart index a8969c4..6aa65a9 100644 --- a/lib/src/delegates/user.dart +++ b/lib/src/delegates/user.dart @@ -1,3 +1,22 @@ +/* + * This file is a part of the SteamWar software. + * + * Copyright (C) 2023 SteamWar.de-Serverteam + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import 'package:flutter/material.dart'; import 'package:steamwar_multitool/src/types/types.dart'; diff --git a/lib/src/dialogs/create_event_dialog.dart b/lib/src/dialogs/create_event_dialog.dart index ae425a9..49a1f4f 100644 --- a/lib/src/dialogs/create_event_dialog.dart +++ b/lib/src/dialogs/create_event_dialog.dart @@ -1,3 +1,22 @@ +/* + * This file is a part of the SteamWar software. + * + * Copyright (C) 2023 SteamWar.de-Serverteam + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import 'package:flutter/material.dart'; import 'package:flutter_hooks/flutter_hooks.dart'; import 'package:go_router/go_router.dart'; diff --git a/lib/src/dialogs/dialogs.dart b/lib/src/dialogs/dialogs.dart index dbb979f..048ff14 100644 --- a/lib/src/dialogs/dialogs.dart +++ b/lib/src/dialogs/dialogs.dart @@ -1 +1,20 @@ +/* + * This file is a part of the SteamWar software. + * + * Copyright (C) 2023 SteamWar.de-Serverteam + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + export 'create_event_dialog.dart'; diff --git a/lib/src/provider/data.dart b/lib/src/provider/data.dart index ea95257..9f21a28 100644 --- a/lib/src/provider/data.dart +++ b/lib/src/provider/data.dart @@ -1,3 +1,22 @@ +/* + * This file is a part of the SteamWar software. + * + * Copyright (C) 2023 SteamWar.de-Serverteam + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import 'package:hooks_riverpod/hooks_riverpod.dart'; import 'package:steamwar_multitool/src/types/types.dart'; diff --git a/lib/src/provider/events.dart b/lib/src/provider/events.dart index 205dd55..ae14902 100644 --- a/lib/src/provider/events.dart +++ b/lib/src/provider/events.dart @@ -1,3 +1,22 @@ +/* + * This file is a part of the SteamWar software. + * + * Copyright (C) 2023 SteamWar.de-Serverteam + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import 'package:hooks_riverpod/hooks_riverpod.dart'; import 'package:steamwar_multitool/src/repositories/event.dart'; import 'package:steamwar_multitool/src/types/types.dart'; diff --git a/lib/src/provider/http.dart b/lib/src/provider/http.dart index 46cb1c0..d4b54cc 100644 --- a/lib/src/provider/http.dart +++ b/lib/src/provider/http.dart @@ -1,3 +1,22 @@ +/* + * This file is a part of the SteamWar software. + * + * Copyright (C) 2023 SteamWar.de-Serverteam + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import 'package:dio/dio.dart'; import 'package:flutter/foundation.dart'; import 'package:hooks_riverpod/hooks_riverpod.dart'; diff --git a/lib/src/provider/mods.dart b/lib/src/provider/mods.dart index df2b738..51eb5d0 100644 --- a/lib/src/provider/mods.dart +++ b/lib/src/provider/mods.dart @@ -1,3 +1,22 @@ +/* + * This file is a part of the SteamWar software. + * + * Copyright (C) 2023 SteamWar.de-Serverteam + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import 'package:hooks_riverpod/hooks_riverpod.dart'; import 'package:steamwar_multitool/src/provider/http.dart'; import 'package:steamwar_multitool/src/repositories/mod.dart'; diff --git a/lib/src/provider/provider.dart b/lib/src/provider/provider.dart index aafce88..5e2a89b 100644 --- a/lib/src/provider/provider.dart +++ b/lib/src/provider/provider.dart @@ -1,3 +1,22 @@ +/* + * This file is a part of the SteamWar software. + * + * Copyright (C) 2023 SteamWar.de-Serverteam + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + export 'data.dart'; export 'events.dart'; export 'http.dart'; diff --git a/lib/src/provider/user.dart b/lib/src/provider/user.dart index 1657d5d..c43b5c4 100644 --- a/lib/src/provider/user.dart +++ b/lib/src/provider/user.dart @@ -1,3 +1,22 @@ +/* + * This file is a part of the SteamWar software. + * + * Copyright (C) 2023 SteamWar.de-Serverteam + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import 'package:hooks_riverpod/hooks_riverpod.dart'; import 'package:shared_preferences/shared_preferences.dart'; import 'package:steamwar_multitool/src/types/types.dart'; diff --git a/lib/src/repositories/event.dart b/lib/src/repositories/event.dart index a87dcbb..cd8af8a 100644 --- a/lib/src/repositories/event.dart +++ b/lib/src/repositories/event.dart @@ -1,3 +1,22 @@ +/* + * This file is a part of the SteamWar software. + * + * Copyright (C) 2023 SteamWar.de-Serverteam + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import 'package:dio/dio.dart'; import 'package:steamwar_multitool/src/types/types.dart'; diff --git a/lib/src/repositories/mod.dart b/lib/src/repositories/mod.dart index 5043ea6..5689965 100644 --- a/lib/src/repositories/mod.dart +++ b/lib/src/repositories/mod.dart @@ -1,3 +1,22 @@ +/* + * This file is a part of the SteamWar software. + * + * Copyright (C) 2023 SteamWar.de-Serverteam + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import 'package:dio/dio.dart'; import 'package:steamwar_multitool/src/types/mods.dart'; diff --git a/lib/src/screens/event/bracket_generator.dart b/lib/src/screens/event/bracket_generator.dart index d920d9e..ac7a508 100644 --- a/lib/src/screens/event/bracket_generator.dart +++ b/lib/src/screens/event/bracket_generator.dart @@ -1,3 +1,22 @@ +/* + * This file is a part of the SteamWar software. + * + * Copyright (C) 2023 SteamWar.de-Serverteam + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import 'package:flutter/material.dart'; import 'package:hooks_riverpod/hooks_riverpod.dart'; diff --git a/lib/src/screens/event/components/dialogs/add_fight.dart b/lib/src/screens/event/components/dialogs/add_fight.dart index c5378b8..37dc404 100644 --- a/lib/src/screens/event/components/dialogs/add_fight.dart +++ b/lib/src/screens/event/components/dialogs/add_fight.dart @@ -1,3 +1,22 @@ +/* + * This file is a part of the SteamWar software. + * + * Copyright (C) 2023 SteamWar.de-Serverteam + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import 'package:flutter/material.dart'; import 'package:flutter_hooks/flutter_hooks.dart'; import 'package:hooks_riverpod/hooks_riverpod.dart'; diff --git a/lib/src/screens/event/components/dialogs/dialogs.dart b/lib/src/screens/event/components/dialogs/dialogs.dart index f8ecbe1..f0cbc20 100644 --- a/lib/src/screens/event/components/dialogs/dialogs.dart +++ b/lib/src/screens/event/components/dialogs/dialogs.dart @@ -1,2 +1,21 @@ +/* + * This file is a part of the SteamWar software. + * + * Copyright (C) 2023 SteamWar.de-Serverteam + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + export 'add_fight.dart'; export 'edit_fight.dart'; diff --git a/lib/src/screens/event/components/dialogs/edit_fight.dart b/lib/src/screens/event/components/dialogs/edit_fight.dart index d37fdc6..a30df0e 100644 --- a/lib/src/screens/event/components/dialogs/edit_fight.dart +++ b/lib/src/screens/event/components/dialogs/edit_fight.dart @@ -1,3 +1,22 @@ +/* + * This file is a part of the SteamWar software. + * + * Copyright (C) 2023 SteamWar.de-Serverteam + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import 'package:flutter/material.dart'; import 'package:flutter_hooks/flutter_hooks.dart'; import 'package:hooks_riverpod/hooks_riverpod.dart'; diff --git a/lib/src/screens/event/components/fight_list.dart b/lib/src/screens/event/components/fight_list.dart index 343c25d..782d998 100644 --- a/lib/src/screens/event/components/fight_list.dart +++ b/lib/src/screens/event/components/fight_list.dart @@ -1,3 +1,22 @@ +/* + * This file is a part of the SteamWar software. + * + * Copyright (C) 2023 SteamWar.de-Serverteam + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import 'dart:math'; import 'package:flutter/material.dart'; diff --git a/lib/src/screens/event/components/loaded_event.dart b/lib/src/screens/event/components/loaded_event.dart index 6afa7f7..d1ebb5e 100644 --- a/lib/src/screens/event/components/loaded_event.dart +++ b/lib/src/screens/event/components/loaded_event.dart @@ -1,3 +1,22 @@ +/* + * This file is a part of the SteamWar software. + * + * Copyright (C) 2023 SteamWar.de-Serverteam + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import 'dart:math'; import 'package:flutter/material.dart'; diff --git a/lib/src/screens/event/components/team_selector.dart b/lib/src/screens/event/components/team_selector.dart index 48880f4..181c162 100644 --- a/lib/src/screens/event/components/team_selector.dart +++ b/lib/src/screens/event/components/team_selector.dart @@ -1,3 +1,22 @@ +/* + * This file is a part of the SteamWar software. + * + * Copyright (C) 2023 SteamWar.de-Serverteam + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import 'package:flutter/material.dart'; import 'package:hooks_riverpod/hooks_riverpod.dart'; import 'package:steamwar_multitool/src/delegates/delegates.dart'; diff --git a/lib/src/screens/event/event.dart b/lib/src/screens/event/event.dart index 2bfb0b2..dcb4f43 100644 --- a/lib/src/screens/event/event.dart +++ b/lib/src/screens/event/event.dart @@ -1,3 +1,22 @@ +/* + * This file is a part of the SteamWar software. + * + * Copyright (C) 2023 SteamWar.de-Serverteam + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import 'package:flutter/material.dart'; import 'package:flutter_hooks/flutter_hooks.dart'; import 'package:hooks_riverpod/hooks_riverpod.dart'; diff --git a/lib/src/screens/event/event_fights_graph.dart b/lib/src/screens/event/event_fights_graph.dart index feb6d61..3f591c0 100644 --- a/lib/src/screens/event/event_fights_graph.dart +++ b/lib/src/screens/event/event_fights_graph.dart @@ -1,3 +1,22 @@ +/* + * This file is a part of the SteamWar software. + * + * Copyright (C) 2023 SteamWar.de-Serverteam + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import 'package:flutter/material.dart'; import 'package:flutter_hooks/flutter_hooks.dart'; import 'package:hooks_riverpod/hooks_riverpod.dart'; diff --git a/lib/src/screens/home/home.dart b/lib/src/screens/home/home.dart index 597b853..cc06e60 100644 --- a/lib/src/screens/home/home.dart +++ b/lib/src/screens/home/home.dart @@ -1,3 +1,22 @@ +/* + * This file is a part of the SteamWar software. + * + * Copyright (C) 2023 SteamWar.de-Serverteam + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import 'dart:async'; import 'package:flutter/material.dart'; diff --git a/lib/src/screens/home/lists/events_list.dart b/lib/src/screens/home/lists/events_list.dart index 059a552..c774e8b 100644 --- a/lib/src/screens/home/lists/events_list.dart +++ b/lib/src/screens/home/lists/events_list.dart @@ -1,3 +1,22 @@ +/* + * This file is a part of the SteamWar software. + * + * Copyright (C) 2023 SteamWar.de-Serverteam + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import 'package:flutter/material.dart'; import 'package:go_router/go_router.dart'; import 'package:hooks_riverpod/hooks_riverpod.dart'; diff --git a/lib/src/screens/home/lists/mod_list.dart b/lib/src/screens/home/lists/mod_list.dart index 30a93ff..19bd4c7 100644 --- a/lib/src/screens/home/lists/mod_list.dart +++ b/lib/src/screens/home/lists/mod_list.dart @@ -1,3 +1,22 @@ +/* + * This file is a part of the SteamWar software. + * + * Copyright (C) 2023 SteamWar.de-Serverteam + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import 'package:flutter/material.dart'; import 'package:hooks_riverpod/hooks_riverpod.dart'; import 'package:steamwar_multitool/src/components/error.dart'; diff --git a/lib/src/screens/login/login.dart b/lib/src/screens/login/login.dart index a11eff1..e11f1a0 100644 --- a/lib/src/screens/login/login.dart +++ b/lib/src/screens/login/login.dart @@ -1,3 +1,22 @@ +/* + * This file is a part of the SteamWar software. + * + * Copyright (C) 2023 SteamWar.de-Serverteam + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import 'dart:async'; import 'package:dio/dio.dart'; diff --git a/lib/src/screens/settings/userinfo.dart b/lib/src/screens/settings/userinfo.dart index e73d51a..657f8ba 100644 --- a/lib/src/screens/settings/userinfo.dart +++ b/lib/src/screens/settings/userinfo.dart @@ -1,3 +1,22 @@ +/* + * This file is a part of the SteamWar software. + * + * Copyright (C) 2023 SteamWar.de-Serverteam + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import 'package:flutter/material.dart'; import 'package:flutter_hooks/flutter_hooks.dart'; import 'package:go_router/go_router.dart'; diff --git a/lib/src/types/event.dart b/lib/src/types/event.dart index 0e7623e..4dd2395 100644 --- a/lib/src/types/event.dart +++ b/lib/src/types/event.dart @@ -1,3 +1,22 @@ +/* + * This file is a part of the SteamWar software. + * + * Copyright (C) 2023 SteamWar.de-Serverteam + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import 'package:flutter/material.dart'; import 'package:steamwar_multitool/src/types/types.dart'; diff --git a/lib/src/types/mods.dart b/lib/src/types/mods.dart index bffdd49..ef2d3a4 100644 --- a/lib/src/types/mods.dart +++ b/lib/src/types/mods.dart @@ -1,3 +1,22 @@ +/* + * This file is a part of the SteamWar software. + * + * Copyright (C) 2023 SteamWar.de-Serverteam + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + class Mod { final Platform platform; final String name; diff --git a/lib/src/types/schematic.dart b/lib/src/types/schematic.dart index 7558ec6..41d141c 100644 --- a/lib/src/types/schematic.dart +++ b/lib/src/types/schematic.dart @@ -1,3 +1,22 @@ +/* + * This file is a part of the SteamWar software. + * + * Copyright (C) 2023 SteamWar.de-Serverteam + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + class SchematicType { final String name; final String db; diff --git a/lib/src/types/types.dart b/lib/src/types/types.dart index 66870c1..30fdbe0 100644 --- a/lib/src/types/types.dart +++ b/lib/src/types/types.dart @@ -1,3 +1,22 @@ +/* + * This file is a part of the SteamWar software. + * + * Copyright (C) 2023 SteamWar.de-Serverteam + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + export 'event.dart'; export 'user_data.dart'; export 'mods.dart'; diff --git a/lib/src/types/user.dart b/lib/src/types/user.dart index c9a1987..efc6249 100644 --- a/lib/src/types/user.dart +++ b/lib/src/types/user.dart @@ -1,3 +1,22 @@ +/* + * This file is a part of the SteamWar software. + * + * Copyright (C) 2023 SteamWar.de-Serverteam + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + class User { final int id; final String name; diff --git a/lib/src/types/user_data.dart b/lib/src/types/user_data.dart index 17a113b..0c63d67 100644 --- a/lib/src/types/user_data.dart +++ b/lib/src/types/user_data.dart @@ -1,3 +1,22 @@ +/* + * This file is a part of the SteamWar software. + * + * Copyright (C) 2023 SteamWar.de-Serverteam + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + class UserData { final String key; final bool uneditablePastEvents; diff --git a/lib/src/util/constants.dart b/lib/src/util/constants.dart index ed7fcfe..b5a408c 100644 --- a/lib/src/util/constants.dart +++ b/lib/src/util/constants.dart @@ -1,3 +1,22 @@ +/* + * This file is a part of the SteamWar software. + * + * Copyright (C) 2023 SteamWar.de-Serverteam + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import 'package:intl/intl.dart'; final kDateFormat = DateFormat("dd.MM.yyyy HH:mm"); diff --git a/lib/src/util/event_fight_exporter.dart b/lib/src/util/event_fight_exporter.dart index 54425b7..c06a0f9 100644 --- a/lib/src/util/event_fight_exporter.dart +++ b/lib/src/util/event_fight_exporter.dart @@ -1,3 +1,22 @@ +/* + * This file is a part of the SteamWar software. + * + * Copyright (C) 2023 SteamWar.de-Serverteam + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import 'dart:convert'; import 'dart:html'; diff --git a/web/index.html b/web/index.html index f03efee..066fff8 100644 --- a/web/index.html +++ b/web/index.html @@ -1,3 +1,22 @@ + +