Skip to content

Commit

Permalink
Merge pull request #341 from ConnectyCube/feature/image_blurhash
Browse files Browse the repository at this point in the history
Implement BlurHash feature for Image attachments;
  • Loading branch information
TatankaConCube authored Feb 23, 2024
2 parents 2cd8448 + 83ccd1d commit 3faf8e9
Show file tree
Hide file tree
Showing 17 changed files with 56,544 additions and 56,157 deletions.
1 change: 1 addition & 0 deletions chat_sample/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ The project contains the following features implemented:
- Images;
- Voice;
- Videos;
- BlurHash feature for Images attachments;
- ‘Is typing’ statuses
- Group chat: edit a name, photo; list of participants, add/remove participants; leave a group
- Push notification: subscribe/unsubscribe, show local notification, navigate to the app click on a local notification
Expand Down
Binary file added chat_sample/assets/images/img_not_available.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion chat_sample/build/web/assets/AssetManifest.bin
Original file line number Diff line number Diff line change
@@ -1 +1 @@
'assets/fonts/NotoColorEmoji-Regular.ttf asset'assets/fonts/NotoColorEmoji-Regular.ttfassets/images/splash.png assetassets/images/splash.png)packages/fluttertoast/assets/toastify.css asset)packages/fluttertoast/assets/toastify.css(packages/fluttertoast/assets/toastify.js asset(packages/fluttertoast/assets/toastify.js/packages/record_web/assets/js/record.worklet.js asset/packages/record_web/assets/js/record.worklet.js
'assets/fonts/NotoColorEmoji-Regular.ttf asset'assets/fonts/NotoColorEmoji-Regular.ttf#assets/images/img_not_available.jpg asset#assets/images/img_not_available.jpgassets/images/splash.png assetassets/images/splash.png)packages/fluttertoast/assets/toastify.css asset)packages/fluttertoast/assets/toastify.css(packages/fluttertoast/assets/toastify.js asset(packages/fluttertoast/assets/toastify.js/packages/record_web/assets/js/record.worklet.js asset/packages/record_web/assets/js/record.worklet.js
Expand Down
2 changes: 1 addition & 1 deletion chat_sample/build/web/assets/AssetManifest.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"assets/fonts/NotoColorEmoji-Regular.ttf":["assets/fonts/NotoColorEmoji-Regular.ttf"],"assets/images/splash.png":["assets/images/splash.png"],"packages/fluttertoast/assets/toastify.css":["packages/fluttertoast/assets/toastify.css"],"packages/fluttertoast/assets/toastify.js":["packages/fluttertoast/assets/toastify.js"],"packages/record_web/assets/js/record.worklet.js":["packages/record_web/assets/js/record.worklet.js"]}
{"assets/fonts/NotoColorEmoji-Regular.ttf":["assets/fonts/NotoColorEmoji-Regular.ttf"],"assets/images/img_not_available.jpg":["assets/images/img_not_available.jpg"],"assets/images/splash.png":["assets/images/splash.png"],"packages/fluttertoast/assets/toastify.css":["packages/fluttertoast/assets/toastify.css"],"packages/fluttertoast/assets/toastify.js":["packages/fluttertoast/assets/toastify.js"],"packages/record_web/assets/js/record.worklet.js":["packages/record_web/assets/js/record.worklet.js"]}
72 changes: 72 additions & 0 deletions chat_sample/build/web/assets/NOTICES
Original file line number Diff line number Diff line change
Expand Up @@ -1871,6 +1871,54 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

--------------------------------------------------------------------------------
blurhash

MIT License

Copyright (c) 2019 Raincal

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
--------------------------------------------------------------------------------
blurhash_dart

The MIT Licence

Copyright (c) 2020 Tobias Schwackenhofer

Permission is hereby granted, free of charge, to any person obtaining a copy of this
software and associated documentation files (the "Software"), to deal in the Software
without restriction, including without limitation the rights to use, copy, modify,
merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to the following
conditions:

The above copyright notice and this permission notice shall be included in all copies
or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

--------------------------------------------------------------------------------
boolean_selector
meta
Expand Down Expand Up @@ -7805,6 +7853,30 @@ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

--------------------------------------------------------------------------------
flutter_blurhash

MIT License

Copyright (c) 2019 Robert Felker

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
--------------------------------------------------------------------------------
flutter_cache_manager

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 7 additions & 6 deletions chat_sample/build/web/flutter_service_worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,27 @@ const TEMP = 'flutter-temp-cache';
const CACHE_NAME = 'flutter-app-cache';

const RESOURCES = {"version.json": "17c0d20fc2fd1941953d13d9bc0442c9",
"index.html": "a216b77cd08320e0e45ea004a24005cf",
"/": "a216b77cd08320e0e45ea004a24005cf",
"index.html": "6ecf959c113ac0e5674ea352643e1da9",
"/": "6ecf959c113ac0e5674ea352643e1da9",
"firebase-messaging-sw.js": "a43f2eac8588b877b1194cb36242cbae",
"main.dart.js": "1fb8fe5b0785bd11d14b01a4cc6bb7ac",
"main.dart.js": "0b23dd2ed9e3061dc9f66cb1ca994c29",
"flutter.js": "6fef97aeca90b426343ba6c5c9dc5d4a",
"icons/favicon-16x16.png": "1fcc687e538a1fa2310543ea74432dd7",
"icons/favicon.ico": "33df157f932cc0af7754871debe8e8c2",
"icons/Icon-192.png": "57f1c87db809b70b676f65a14e659348",
"icons/Icon-512.png": "9431080cd4d13303c84f90693265bc3f",
"icons/favicon-32x32.png": "b664008f33a310f05ef871d037f27da0",
"manifest.json": "354bec2e18572e000457749fdce63207",
"assets/AssetManifest.json": "7204920ac40e175f87f45f0eef87ae4e",
"assets/NOTICES": "8b2793ca2fc0f64c89f689e27bdee7cc",
"assets/AssetManifest.json": "6c707dbafe5f8fa5e5dccb93ec8b7e89",
"assets/NOTICES": "862bb9d873642ae6e1ba9dc4b0e46e4c",
"assets/FontManifest.json": "95766328e0d804735e9b8436b62cb8ad",
"assets/packages/fluttertoast/assets/toastify.js": "18cfdd77033aa55d215e8a78c090ba89",
"assets/packages/fluttertoast/assets/toastify.css": "910ddaaf9712a0b0392cf7975a3b7fb5",
"assets/packages/record_web/assets/js/record.worklet.js": "356bcfeddb8a625e3e2ba43ddf1cc13e",
"assets/shaders/ink_sparkle.frag": "f8b80e740d33eb157090be4e995febdf",
"assets/AssetManifest.bin": "406a378a5542d2b3d6a17631e515cb03",
"assets/AssetManifest.bin": "6f96b4be971a0b2d4a7a3b386f98fcdd",
"assets/fonts/MaterialIcons-Regular.otf": "2ee49cf6b8267acffad10252efed3326",
"assets/assets/images/img_not_available.jpg": "f2fb658621b4a331335db0e56b1fbdd6",
"assets/assets/images/splash.png": "eea785b49038bc477b11fa751242220f",
"assets/assets/fonts/NotoColorEmoji-Regular.ttf": "05b8319e9ca8c424f92581503927e872",
"canvaskit/skwasm.js": "95f16c6690f955a45b2317496983dbe9",
Expand Down
2 changes: 1 addition & 1 deletion chat_sample/build/web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
application. For more information, see:
https://developers.google.com/web/fundamentals/primers/service-workers -->
<script>
const serviceWorkerVersion = "1583803473";
const serviceWorkerVersion = "1486485978";
var scriptLoaded = false;
function loadMainDartJs() {
if (scriptLoaded) {
Expand Down
Loading

0 comments on commit 3faf8e9

Please sign in to comment.