diff --git a/lib/encryption.dart b/lib/encryption.dart index f53d2a5e..89c30c68 100644 --- a/lib/encryption.dart +++ b/lib/encryption.dart @@ -1,6 +1,6 @@ /* * Famedly Matrix SDK - * Copyright (C) 2020 Famedly GmbH + * Copyright (C) 2020, 2021 Famedly GmbH * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/lib/encryption/cross_signing.dart b/lib/encryption/cross_signing.dart index 7a815e28..b1fc9f44 100644 --- a/lib/encryption/cross_signing.dart +++ b/lib/encryption/cross_signing.dart @@ -1,6 +1,6 @@ /* * Famedly Matrix SDK - * Copyright (C) 2020 Famedly GmbH + * Copyright (C) 2020, 2021 Famedly GmbH * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/lib/encryption/encryption.dart b/lib/encryption/encryption.dart index a56b543a..b284b9a4 100644 --- a/lib/encryption/encryption.dart +++ b/lib/encryption/encryption.dart @@ -1,6 +1,6 @@ /* * Famedly Matrix SDK - * Copyright (C) 2019, 2020 Famedly GmbH + * Copyright (C) 2019, 2020, 2021 Famedly GmbH * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/lib/encryption/key_manager.dart b/lib/encryption/key_manager.dart index 0c5c95a3..00f954c4 100644 --- a/lib/encryption/key_manager.dart +++ b/lib/encryption/key_manager.dart @@ -1,6 +1,6 @@ /* * Famedly Matrix SDK - * Copyright (C) 2019, 2020 Famedly GmbH + * Copyright (C) 2019, 2020, 2021 Famedly GmbH * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/lib/encryption/key_verification_manager.dart b/lib/encryption/key_verification_manager.dart index e452a036..be382415 100644 --- a/lib/encryption/key_verification_manager.dart +++ b/lib/encryption/key_verification_manager.dart @@ -1,6 +1,6 @@ /* * Famedly Matrix SDK - * Copyright (C) 2020 Famedly GmbH + * Copyright (C) 2020, 2021 Famedly GmbH * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/lib/encryption/olm_manager.dart b/lib/encryption/olm_manager.dart index ada3ce36..fefd8e7b 100644 --- a/lib/encryption/olm_manager.dart +++ b/lib/encryption/olm_manager.dart @@ -1,6 +1,6 @@ /* * Famedly Matrix SDK - * Copyright (C) 2019, 2020 Famedly GmbH + * Copyright (C) 2019, 2020, 2021 Famedly GmbH * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/lib/encryption/ssss.dart b/lib/encryption/ssss.dart index 200965d7..d24cdefa 100644 --- a/lib/encryption/ssss.dart +++ b/lib/encryption/ssss.dart @@ -1,6 +1,6 @@ /* * Famedly Matrix SDK - * Copyright (C) 2020 Famedly GmbH + * Copyright (C) 2020, 2021 Famedly GmbH * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/lib/encryption/utils/bootstrap.dart b/lib/encryption/utils/bootstrap.dart index dc525fc7..cb6ad7cf 100644 --- a/lib/encryption/utils/bootstrap.dart +++ b/lib/encryption/utils/bootstrap.dart @@ -1,6 +1,6 @@ /* * Famedly Matrix SDK - * Copyright (C) 2020 Famedly GmbH + * Copyright (C) 2020, 2021 Famedly GmbH * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/lib/encryption/utils/json_signature_check_extension.dart b/lib/encryption/utils/json_signature_check_extension.dart index dc2501a5..b5cafae3 100644 --- a/lib/encryption/utils/json_signature_check_extension.dart +++ b/lib/encryption/utils/json_signature_check_extension.dart @@ -1,3 +1,21 @@ +/* + * Famedly Matrix SDK + * Copyright (C) 2020, 2021 Famedly GmbH + * + * 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:canonical_json/canonical_json.dart'; import 'package:olm/olm.dart' as olm; diff --git a/lib/encryption/utils/key_verification.dart b/lib/encryption/utils/key_verification.dart index fb6b3626..cac2b6a4 100644 --- a/lib/encryption/utils/key_verification.dart +++ b/lib/encryption/utils/key_verification.dart @@ -1,6 +1,6 @@ /* * Famedly Matrix SDK - * Copyright (C) 2020 Famedly GmbH + * Copyright (C) 2020, 2021 Famedly GmbH * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/lib/encryption/utils/olm_session.dart b/lib/encryption/utils/olm_session.dart index d95f2c7b..7343152e 100644 --- a/lib/encryption/utils/olm_session.dart +++ b/lib/encryption/utils/olm_session.dart @@ -1,6 +1,6 @@ /* * Famedly Matrix SDK - * Copyright (C) 2020 Famedly GmbH + * Copyright (C) 2020, 2021 Famedly GmbH * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/lib/encryption/utils/outbound_group_session.dart b/lib/encryption/utils/outbound_group_session.dart index dcd11e2b..91660706 100644 --- a/lib/encryption/utils/outbound_group_session.dart +++ b/lib/encryption/utils/outbound_group_session.dart @@ -1,6 +1,6 @@ /* * Famedly Matrix SDK - * Copyright (C) 2019, 2020 Famedly GmbH + * Copyright (C) 2019, 2020, 2021 Famedly GmbH * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/lib/encryption/utils/session_key.dart b/lib/encryption/utils/session_key.dart index aa1fc4a5..3605b719 100644 --- a/lib/encryption/utils/session_key.dart +++ b/lib/encryption/utils/session_key.dart @@ -1,6 +1,6 @@ /* * Famedly Matrix SDK - * Copyright (C) 2019, 2020 Famedly GmbH + * Copyright (C) 2019, 2020, 2021 Famedly GmbH * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/lib/famedlysdk.dart b/lib/famedlysdk.dart index f0e1243a..e639154e 100644 --- a/lib/famedlysdk.dart +++ b/lib/famedlysdk.dart @@ -1,6 +1,6 @@ /* * Famedly Matrix SDK - * Copyright (C) 2019, 2020 Famedly GmbH + * Copyright (C) 2019, 2020, 2021 Famedly GmbH * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/lib/src/client.dart b/lib/src/client.dart index bb03aabb..728461a6 100644 --- a/lib/src/client.dart +++ b/lib/src/client.dart @@ -1,6 +1,6 @@ /* * Famedly Matrix SDK - * Copyright (C) 2019, 2020 Famedly GmbH + * Copyright (C) 2019, 2020, 2021 Famedly GmbH * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/lib/src/database/database.dart b/lib/src/database/database.dart index 533777e4..bbe00393 100644 --- a/lib/src/database/database.dart +++ b/lib/src/database/database.dart @@ -1,3 +1,21 @@ +/* + * Famedly Matrix SDK + * Copyright (C) 2020, 2021 Famedly GmbH + * + * 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 'dart:convert'; diff --git a/lib/src/event.dart b/lib/src/event.dart index 56ad9bfa..608d3f1f 100644 --- a/lib/src/event.dart +++ b/lib/src/event.dart @@ -1,6 +1,6 @@ /* * Famedly Matrix SDK - * Copyright (C) 2019, 2020 Famedly GmbH + * Copyright (C) 2019, 2020, 2021 Famedly GmbH * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/lib/src/room.dart b/lib/src/room.dart index c283fb80..63b97322 100644 --- a/lib/src/room.dart +++ b/lib/src/room.dart @@ -1,6 +1,6 @@ /* * Famedly Matrix SDK - * Copyright (C) 2019, 2020 Famedly GmbH + * Copyright (C) 2019, 2020, 2021 Famedly GmbH * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/lib/src/timeline.dart b/lib/src/timeline.dart index 48cd04b2..6141d392 100644 --- a/lib/src/timeline.dart +++ b/lib/src/timeline.dart @@ -1,6 +1,6 @@ /* * Famedly Matrix SDK - * Copyright (C) 2019, 2020 Famedly GmbH + * Copyright (C) 2019, 2020, 2021 Famedly GmbH * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/lib/src/user.dart b/lib/src/user.dart index d8ab1a59..fbd684d3 100644 --- a/lib/src/user.dart +++ b/lib/src/user.dart @@ -1,6 +1,6 @@ /* * Famedly Matrix SDK - * Copyright (C) 2019, 2020 Famedly GmbH + * Copyright (C) 2019, 2020, 2021 Famedly GmbH * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/lib/src/utils/device_keys_list.dart b/lib/src/utils/device_keys_list.dart index ec8e306e..6ae05e25 100644 --- a/lib/src/utils/device_keys_list.dart +++ b/lib/src/utils/device_keys_list.dart @@ -1,3 +1,21 @@ +/* + * Famedly Matrix SDK + * Copyright (C) 2020, 2021 Famedly GmbH + * + * 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:canonical_json/canonical_json.dart'; diff --git a/lib/src/utils/event_localizations.dart b/lib/src/utils/event_localizations.dart index b3b8b639..86551f32 100644 --- a/lib/src/utils/event_localizations.dart +++ b/lib/src/utils/event_localizations.dart @@ -1,6 +1,6 @@ /* * Famedly Matrix SDK - * Copyright (C) 2019, 2020 Famedly GmbH + * Copyright (C) 2019, 2020, 2021 Famedly GmbH * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/lib/src/utils/event_update.dart b/lib/src/utils/event_update.dart index 1daa5169..de3e0194 100644 --- a/lib/src/utils/event_update.dart +++ b/lib/src/utils/event_update.dart @@ -1,6 +1,6 @@ /* * Famedly Matrix SDK - * Copyright (C) 2019, 2020 Famedly GmbH + * Copyright (C) 2019, 2020, 2021 Famedly GmbH * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/lib/src/utils/map_copy_extension.dart b/lib/src/utils/map_copy_extension.dart index 84ddc272..520294f6 100644 --- a/lib/src/utils/map_copy_extension.dart +++ b/lib/src/utils/map_copy_extension.dart @@ -1,6 +1,6 @@ /* * Famedly Matrix SDK - * Copyright (C) 2020 Famedly GmbH + * Copyright (C) 2020, 2021 Famedly GmbH * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/lib/src/utils/markdown.dart b/lib/src/utils/markdown.dart index dea262cf..ac0f49e5 100644 --- a/lib/src/utils/markdown.dart +++ b/lib/src/utils/markdown.dart @@ -1,3 +1,21 @@ +/* + * Famedly Matrix SDK + * Copyright (C) 2020, 2021 Famedly GmbH + * + * 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:markdown/markdown.dart'; import 'dart:convert'; diff --git a/lib/src/utils/matrix_file.dart b/lib/src/utils/matrix_file.dart index 1f2e176c..cc6cb6c7 100644 --- a/lib/src/utils/matrix_file.dart +++ b/lib/src/utils/matrix_file.dart @@ -1,3 +1,21 @@ +/* + * Famedly Matrix SDK + * Copyright (C) 2020, 2021 Famedly GmbH + * + * 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 . + */ + /// Workaround until [File] in dart:io and dart:html is unified import 'dart:typed_data'; diff --git a/lib/src/utils/matrix_id_string_extension.dart b/lib/src/utils/matrix_id_string_extension.dart index 3cfb6372..83cd00aa 100644 --- a/lib/src/utils/matrix_id_string_extension.dart +++ b/lib/src/utils/matrix_id_string_extension.dart @@ -1,3 +1,21 @@ +/* + * Famedly Matrix SDK + * Copyright (C) 2020, 2021 Famedly GmbH + * + * 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 . + */ + extension MatrixIdExtension on String { static const Set VALID_SIGILS = {'@', '!', '#', '\$', '+'}; diff --git a/lib/src/utils/matrix_localizations.dart b/lib/src/utils/matrix_localizations.dart index 78cc720f..f9545465 100644 --- a/lib/src/utils/matrix_localizations.dart +++ b/lib/src/utils/matrix_localizations.dart @@ -1,3 +1,21 @@ +/* + * Famedly Matrix SDK + * Copyright (C) 2020, 2021 Famedly GmbH + * + * 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 '../room.dart'; abstract class MatrixLocalizations { diff --git a/lib/src/utils/receipt.dart b/lib/src/utils/receipt.dart index da7fefe8..60bc4711 100644 --- a/lib/src/utils/receipt.dart +++ b/lib/src/utils/receipt.dart @@ -1,3 +1,21 @@ +/* + * Famedly Matrix SDK + * Copyright (C) 2020, 2021 Famedly GmbH + * + * 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 '../user.dart'; /// Represents a receipt. diff --git a/lib/src/utils/room_update.dart b/lib/src/utils/room_update.dart index bef678c1..0281e06b 100644 --- a/lib/src/utils/room_update.dart +++ b/lib/src/utils/room_update.dart @@ -1,6 +1,6 @@ /* * Famedly Matrix SDK - * Copyright (C) 2019, 2020 Famedly GmbH + * Copyright (C) 2019, 2020, 2021 Famedly GmbH * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/lib/src/utils/run_in_background.dart b/lib/src/utils/run_in_background.dart index 8d837bb8..728a805f 100644 --- a/lib/src/utils/run_in_background.dart +++ b/lib/src/utils/run_in_background.dart @@ -1,6 +1,6 @@ /* * Famedly Matrix SDK - * Copyright (C) 2020 Famedly GmbH + * Copyright (C) 2020, 2021 Famedly GmbH * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/lib/src/utils/run_in_root.dart b/lib/src/utils/run_in_root.dart index b7fda622..51e1837e 100644 --- a/lib/src/utils/run_in_root.dart +++ b/lib/src/utils/run_in_root.dart @@ -1,6 +1,6 @@ /* * Famedly Matrix SDK - * Copyright (C) 2020 Famedly GmbH + * Copyright (C) 2020, 2021 Famedly GmbH * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/lib/src/utils/states_map.dart b/lib/src/utils/states_map.dart index 5f3f190b..30609edc 100644 --- a/lib/src/utils/states_map.dart +++ b/lib/src/utils/states_map.dart @@ -1,3 +1,21 @@ +/* + * Famedly Matrix SDK + * Copyright (C) 2020, 2021 Famedly GmbH + * + * 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 '../../famedlysdk.dart'; /// Matrix room states are addressed by a tuple of the [type] and an diff --git a/lib/src/utils/sync_update_extension.dart b/lib/src/utils/sync_update_extension.dart index c8e85b0e..2a025334 100644 --- a/lib/src/utils/sync_update_extension.dart +++ b/lib/src/utils/sync_update_extension.dart @@ -1,6 +1,6 @@ /* * Famedly Matrix SDK - * Copyright (C) 2020 Famedly GmbH + * Copyright (C) 2020, 2021 Famedly GmbH * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/lib/src/utils/to_device_event.dart b/lib/src/utils/to_device_event.dart index 4abcf329..82aa58d5 100644 --- a/lib/src/utils/to_device_event.dart +++ b/lib/src/utils/to_device_event.dart @@ -1,3 +1,21 @@ +/* + * Famedly Matrix SDK + * Copyright (C) 2020, 2021 Famedly GmbH + * + * 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 '../../famedlysdk.dart'; class ToDeviceEvent extends BasicEventWithSender { diff --git a/lib/src/utils/uia_request.dart b/lib/src/utils/uia_request.dart index 2aac78b5..8f66b380 100644 --- a/lib/src/utils/uia_request.dart +++ b/lib/src/utils/uia_request.dart @@ -1,6 +1,6 @@ /* * Famedly Matrix SDK - * Copyright (C) 2020 Famedly GmbH + * Copyright (C) 2020, 2021 Famedly GmbH * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/lib/src/utils/uri_extension.dart b/lib/src/utils/uri_extension.dart index 738bd93a..bf04568c 100644 --- a/lib/src/utils/uri_extension.dart +++ b/lib/src/utils/uri_extension.dart @@ -1,6 +1,6 @@ /* * Famedly Matrix SDK - * Copyright (C) 2019, 2020 Famedly GmbH + * Copyright (C) 2019, 2020, 2021 Famedly GmbH * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as