From 08c9f7625947a375e60fceddeecb5008dfdfa4b7 Mon Sep 17 00:00:00 2001 From: BalazsManus Date: Wed, 12 Mar 2025 08:42:22 +0100 Subject: [PATCH] AGPLv3 license headers --- firka/lib/helpers/api/consts.dart | 18 ++++++++++++++++++ firka/lib/helpers/api/model/bank_account.dart | 18 ++++++++++++++++++ firka/lib/helpers/api/resp/token_grant.dart | 18 ++++++++++++++++++ firka/lib/helpers/api/token_grant.dart | 18 ++++++++++++++++++ firka/lib/helpers/db/models/token_model.dart | 18 ++++++++++++++++++ firka/lib/helpers/db/token_service.dart | 18 ++++++++++++++++++ 6 files changed, 108 insertions(+) diff --git a/firka/lib/helpers/api/consts.dart b/firka/lib/helpers/api/consts.dart index dcbfea8c..06b67d6d 100644 --- a/firka/lib/helpers/api/consts.dart +++ b/firka/lib/helpers/api/consts.dart @@ -1,3 +1,21 @@ +/* + Firka, alternative e-Kréta client. + Copyright (C) 2025 QwIT Development + + 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 Constants { static const clientId = "kreta-ellenorzo-student-mobile-ios"; } diff --git a/firka/lib/helpers/api/model/bank_account.dart b/firka/lib/helpers/api/model/bank_account.dart index c20e9aa5..ce2648a7 100644 --- a/firka/lib/helpers/api/model/bank_account.dart +++ b/firka/lib/helpers/api/model/bank_account.dart @@ -1,3 +1,21 @@ +/* + Firka, alternative e-Kréta client. + Copyright (C) 2025 QwIT Development + + 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 BankAccount { final List addressDataList; diff --git a/firka/lib/helpers/api/resp/token_grant.dart b/firka/lib/helpers/api/resp/token_grant.dart index ea7c6a7c..98ae1bed 100644 --- a/firka/lib/helpers/api/resp/token_grant.dart +++ b/firka/lib/helpers/api/resp/token_grant.dart @@ -1,3 +1,21 @@ +/* + Firka, alternative e-Kréta client. + Copyright (C) 2025 QwIT Development + + 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 TokenGrantResponse { final String idToken; final String accessToken; diff --git a/firka/lib/helpers/api/token_grant.dart b/firka/lib/helpers/api/token_grant.dart index afc400b6..9197e9cc 100644 --- a/firka/lib/helpers/api/token_grant.dart +++ b/firka/lib/helpers/api/token_grant.dart @@ -1,3 +1,21 @@ +/* + Firka, alternative e-Kréta client. + Copyright (C) 2025 QwIT Development + + 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:firka/helpers/api/resp/token_grant.dart'; import 'consts.dart'; diff --git a/firka/lib/helpers/db/models/token_model.dart b/firka/lib/helpers/db/models/token_model.dart index 81e7ef81..42e0575a 100644 --- a/firka/lib/helpers/db/models/token_model.dart +++ b/firka/lib/helpers/db/models/token_model.dart @@ -1,3 +1,21 @@ +/* + Firka, alternative e-Kréta client. + Copyright (C) 2025 QwIT Development + + 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/foundation.dart'; import 'package:isar/isar.dart'; part 'token_model.g.dart'; diff --git a/firka/lib/helpers/db/token_service.dart b/firka/lib/helpers/db/token_service.dart index fd8f4a04..eff69f46 100644 --- a/firka/lib/helpers/db/token_service.dart +++ b/firka/lib/helpers/db/token_service.dart @@ -1,3 +1,21 @@ +/* + Firka, alternative e-Kréta client. + Copyright (C) 2025 QwIT Development + + 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:isar/isar.dart'; import 'package:path_provider/path_provider.dart'; import 'models/token_model.dart';