From 8e9b2e839d9465bd1ebd8bb73cdc56965e2a2e77 Mon Sep 17 00:00:00 2001 From: Fabian Freund Date: Mon, 15 Sep 2025 07:11:37 +0200 Subject: [PATCH] update license headers --- app/lib/extensions/http_encoding.dart | 19 +++++++++++++++++++ .../dialogs/open_shared_content.dart | 19 +++++++++++++++++++ .../widgets/tab_drag_container_target.dart | 19 +++++++++++++++++++ .../tor/data/services/builtin_bridges.dart | 19 +++++++++++++++++++ .../domain/repositories/builtin_bridges.dart | 19 +++++++++++++++++++ .../user/data/models/tor_settings.dart | 19 +++++++++++++++++++ .../domain/repositories/tor_settings.dart | 19 +++++++++++++++++++ app/lib/utils/text_field_line_count.dart | 19 +++++++++++++++++++ .../lib/pluggable_transports_proxy.dart | 19 +++++++++++++++++++ .../lib/src/data/models/moat.dart | 19 +++++++++++++++++++ .../lib/src/data/service/moat_api.dart | 19 +++++++++++++++++++ .../lib/src/data/service/moat_service.dart | 19 +++++++++++++++++++ .../pigeons/proxy.dart | 19 +++++++++++++++++++ 13 files changed, 247 insertions(+) diff --git a/app/lib/extensions/http_encoding.dart b/app/lib/extensions/http_encoding.dart index c5acfc93..c92dc170 100644 --- a/app/lib/extensions/http_encoding.dart +++ b/app/lib/extensions/http_encoding.dart @@ -1,3 +1,22 @@ +/* + * Copyright (c) 2024-2025 Fabian Freund. + * + * This file is part of WebLibre + * (see https://weblibre.eu). + * + * 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 'package:http/http.dart'; diff --git a/app/lib/features/geckoview/features/browser/presentation/dialogs/open_shared_content.dart b/app/lib/features/geckoview/features/browser/presentation/dialogs/open_shared_content.dart index ce817a6d..b59df1ca 100644 --- a/app/lib/features/geckoview/features/browser/presentation/dialogs/open_shared_content.dart +++ b/app/lib/features/geckoview/features/browser/presentation/dialogs/open_shared_content.dart @@ -1,3 +1,22 @@ +/* + * Copyright (c) 2024-2025 Fabian Freund. + * + * This file is part of WebLibre + * (see https://weblibre.eu). + * + * 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:drift/drift.dart'; import 'package:flutter/material.dart'; import 'package:flutter_hooks/flutter_hooks.dart'; diff --git a/app/lib/features/geckoview/features/tabs/presentation/widgets/tab_drag_container_target.dart b/app/lib/features/geckoview/features/tabs/presentation/widgets/tab_drag_container_target.dart index 5bc37f59..afc525ed 100644 --- a/app/lib/features/geckoview/features/tabs/presentation/widgets/tab_drag_container_target.dart +++ b/app/lib/features/geckoview/features/tabs/presentation/widgets/tab_drag_container_target.dart @@ -1,3 +1,22 @@ +/* + * Copyright (c) 2024-2025 Fabian Freund. + * + * This file is part of WebLibre + * (see https://weblibre.eu). + * + * 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/app/lib/features/tor/data/services/builtin_bridges.dart b/app/lib/features/tor/data/services/builtin_bridges.dart index 0cc1d15b..39923eff 100644 --- a/app/lib/features/tor/data/services/builtin_bridges.dart +++ b/app/lib/features/tor/data/services/builtin_bridges.dart @@ -1,3 +1,22 @@ +/* + * Copyright (c) 2024-2025 Fabian Freund. + * + * This file is part of WebLibre + * (see https://weblibre.eu). + * + * 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 'package:flutter/services.dart' show rootBundle; diff --git a/app/lib/features/tor/domain/repositories/builtin_bridges.dart b/app/lib/features/tor/domain/repositories/builtin_bridges.dart index 349e195a..b7ecfeef 100644 --- a/app/lib/features/tor/domain/repositories/builtin_bridges.dart +++ b/app/lib/features/tor/domain/repositories/builtin_bridges.dart @@ -1,3 +1,22 @@ +/* + * Copyright (c) 2024-2025 Fabian Freund. + * + * This file is part of WebLibre + * (see https://weblibre.eu). + * + * 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:pluggable_transports_proxy/pluggable_transports_proxy.dart'; import 'package:riverpod_annotation/riverpod_annotation.dart'; import 'package:weblibre/core/logger.dart'; diff --git a/app/lib/features/user/data/models/tor_settings.dart b/app/lib/features/user/data/models/tor_settings.dart index 01065749..9b9731b7 100644 --- a/app/lib/features/user/data/models/tor_settings.dart +++ b/app/lib/features/user/data/models/tor_settings.dart @@ -1,3 +1,22 @@ +/* + * Copyright (c) 2024-2025 Fabian Freund. + * + * This file is part of WebLibre + * (see https://weblibre.eu). + * + * 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:copy_with_extension/copy_with_extension.dart'; import 'package:fast_equatable/fast_equatable.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/app/lib/features/user/domain/repositories/tor_settings.dart b/app/lib/features/user/domain/repositories/tor_settings.dart index 01388df0..96c55313 100644 --- a/app/lib/features/user/domain/repositories/tor_settings.dart +++ b/app/lib/features/user/domain/repositories/tor_settings.dart @@ -1,3 +1,22 @@ +/* + * Copyright (c) 2024-2025 Fabian Freund. + * + * This file is part of WebLibre + * (see https://weblibre.eu). + * + * 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:drift/drift.dart'; import 'package:riverpod/riverpod.dart'; import 'package:riverpod_annotation/riverpod_annotation.dart'; diff --git a/app/lib/utils/text_field_line_count.dart b/app/lib/utils/text_field_line_count.dart index 271adae0..daee917a 100644 --- a/app/lib/utils/text_field_line_count.dart +++ b/app/lib/utils/text_field_line_count.dart @@ -1,3 +1,22 @@ +/* + * Copyright (c) 2024-2025 Fabian Freund. + * + * This file is part of WebLibre + * (see https://weblibre.eu). + * + * 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'; int _getLineCountUsingBoxes(String text, TextStyle style, double maxWidth) { diff --git a/packages/pluggable_transports_proxy/lib/pluggable_transports_proxy.dart b/packages/pluggable_transports_proxy/lib/pluggable_transports_proxy.dart index 11c71faa..63f74eaa 100644 --- a/packages/pluggable_transports_proxy/lib/pluggable_transports_proxy.dart +++ b/packages/pluggable_transports_proxy/lib/pluggable_transports_proxy.dart @@ -1,3 +1,22 @@ +/* + * Copyright (c) 2024-2025 Fabian Freund. + * + * This file is part of WebLibre + * (see https://weblibre.eu). + * + * 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 'src/data/models/moat.dart'; export 'src/data/service/moat_service.dart'; export 'src/pigeons/proxy.g.dart' show IPtProxyController, ProxyType; diff --git a/packages/pluggable_transports_proxy/lib/src/data/models/moat.dart b/packages/pluggable_transports_proxy/lib/src/data/models/moat.dart index 4a9d25ea..745cb0b2 100644 --- a/packages/pluggable_transports_proxy/lib/src/data/models/moat.dart +++ b/packages/pluggable_transports_proxy/lib/src/data/models/moat.dart @@ -1,3 +1,22 @@ +/* + * Copyright (c) 2024-2025 Fabian Freund. + * + * This file is part of WebLibre + * (see https://weblibre.eu). + * + * 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:json_annotation/json_annotation.dart'; part 'moat.g.dart'; diff --git a/packages/pluggable_transports_proxy/lib/src/data/service/moat_api.dart b/packages/pluggable_transports_proxy/lib/src/data/service/moat_api.dart index cc00d94f..9a26cf62 100644 --- a/packages/pluggable_transports_proxy/lib/src/data/service/moat_api.dart +++ b/packages/pluggable_transports_proxy/lib/src/data/service/moat_api.dart @@ -1,3 +1,22 @@ +/* + * Copyright (c) 2024-2025 Fabian Freund. + * + * This file is part of WebLibre + * (see https://weblibre.eu). + * + * 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 'package:http/http.dart' as http; diff --git a/packages/pluggable_transports_proxy/lib/src/data/service/moat_service.dart b/packages/pluggable_transports_proxy/lib/src/data/service/moat_service.dart index 84e2caf3..be121cd8 100644 --- a/packages/pluggable_transports_proxy/lib/src/data/service/moat_service.dart +++ b/packages/pluggable_transports_proxy/lib/src/data/service/moat_service.dart @@ -1,3 +1,22 @@ +/* + * Copyright (c) 2024-2025 Fabian Freund. + * + * This file is part of WebLibre + * (see https://weblibre.eu). + * + * 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:io'; import 'package:http/io_client.dart'; diff --git a/packages/pluggable_transports_proxy/pigeons/proxy.dart b/packages/pluggable_transports_proxy/pigeons/proxy.dart index dbd1d1ed..c341efd2 100644 --- a/packages/pluggable_transports_proxy/pigeons/proxy.dart +++ b/packages/pluggable_transports_proxy/pigeons/proxy.dart @@ -1,3 +1,22 @@ +/* + * Copyright (c) 2024-2025 Fabian Freund. + * + * This file is part of WebLibre + * (see https://weblibre.eu). + * + * 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:pigeon/pigeon.dart'; enum ProxyType { obfs4, meekLite, webtunnel, snowflake }