From ad700c5029688ffabae568c23bedd7bb333f7f33 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Sat, 20 Jul 2024 15:02:22 +0200 Subject: [PATCH] [chore/frontend] Use smaller webp images for logo and default avatars (#3119) --- README.md | 4 +- docs/assets/sloth.png | Bin 35961 -> 0 bytes docs/assets/sloth.webp | Bin 0 -> 17046 bytes internal/api/client/accounts/profile_test.go | 4 +- .../api/client/admin/accountsgetv2_test.go | 32 +++--- internal/api/client/admin/reportsget_test.go | 52 ++++----- .../api/client/followrequests/get_test.go | 4 +- .../api/client/instance/instancepatch_test.go | 34 +++--- internal/api/client/mutes/mutesget_test.go | 2 +- internal/api/client/reports/reportget_test.go | 4 +- .../api/client/reports/reportsget_test.go | 16 +-- .../processing/stream/notification_test.go | 4 +- .../processing/stream/statusupdate_test.go | 4 +- internal/typeutils/defaulticons.go | 4 +- internal/typeutils/internaltofrontend.go | 4 +- internal/typeutils/internaltofrontend_test.go | 100 +++++++++--------- web/assets/LICENSE | 1 + .../default_avatars/GoToSocial_icon1.png | Bin 8348 -> 0 bytes .../default_avatars/GoToSocial_icon1.webp | Bin 0 -> 6454 bytes .../default_avatars/GoToSocial_icon2.png | Bin 8815 -> 0 bytes .../default_avatars/GoToSocial_icon2.webp | Bin 0 -> 6828 bytes .../default_avatars/GoToSocial_icon3.png | Bin 16525 -> 0 bytes .../default_avatars/GoToSocial_icon3.webp | Bin 0 -> 9688 bytes .../default_avatars/GoToSocial_icon4.png | Bin 17204 -> 0 bytes .../default_avatars/GoToSocial_icon4.webp | Bin 0 -> 9892 bytes .../default_avatars/GoToSocial_icon5.png | Bin 16717 -> 0 bytes .../default_avatars/GoToSocial_icon5.webp | Bin 0 -> 9880 bytes .../default_avatars/GoToSocial_icon6.png | Bin 14846 -> 0 bytes .../default_avatars/GoToSocial_icon6.webp | Bin 0 -> 8510 bytes web/assets/default_header.png | Bin 67 -> 0 bytes web/assets/default_header.webp | Bin 0 -> 30 bytes web/assets/logo.webp | Bin 0 -> 17046 bytes web/source/settings/components/status.tsx | 2 +- web/template/status_attachments.tmpl | 4 +- 34 files changed, 139 insertions(+), 136 deletions(-) delete mode 100644 docs/assets/sloth.png create mode 100644 docs/assets/sloth.webp delete mode 100644 web/assets/default_avatars/GoToSocial_icon1.png create mode 100644 web/assets/default_avatars/GoToSocial_icon1.webp delete mode 100644 web/assets/default_avatars/GoToSocial_icon2.png create mode 100644 web/assets/default_avatars/GoToSocial_icon2.webp delete mode 100644 web/assets/default_avatars/GoToSocial_icon3.png create mode 100644 web/assets/default_avatars/GoToSocial_icon3.webp delete mode 100644 web/assets/default_avatars/GoToSocial_icon4.png create mode 100644 web/assets/default_avatars/GoToSocial_icon4.webp delete mode 100644 web/assets/default_avatars/GoToSocial_icon5.png create mode 100644 web/assets/default_avatars/GoToSocial_icon5.webp delete mode 100644 web/assets/default_avatars/GoToSocial_icon6.png create mode 100644 web/assets/default_avatars/GoToSocial_icon6.webp delete mode 100644 web/assets/default_header.png create mode 100644 web/assets/default_header.webp create mode 100644 web/assets/logo.webp diff --git a/README.md b/README.md index f30b5c2bf..d35311f87 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ GoToSocial is an [ActivityPub](https://activitypub.rocks/) social network server With GoToSocial, you can keep in touch with your friends, post, read, and share images and articles. All without being tracked or advertised to!
- +
**GoToSocial is still [ALPHA SOFTWARE](https://en.wikipedia.org/wiki/Software_release_life_cycle#Alpha)**. It is already deployable and useable, and it federates cleanly with many other Fediverse servers (not yet all). However, many things are not yet implemented, and there are plenty of bugs! We foresee entering beta around the beginning of 2024. @@ -53,6 +53,7 @@ Here's a screenshot of the instance landing page! - [Special Thanks](#special-thanks) - [Sponsorship + Funding](#sponsorship--funding) - [Crowdfunding](#crowdfunding) + - [Corporate Sponsorship](#corporate-sponsorship) - [NLnet](#nlnet) - [License](#license) @@ -311,6 +312,7 @@ Sloth logo by [Anna Abramek](https://abramek.art/). The Creative Commons Attribution-ShareAlike 4.0 International License license applies specifically to the following files and subdirectories of this repository: - [sloth logo png](https://github.com/superseriousbusiness/gotosocial/blob/main/web/assets/logo.png) +- [sloth logo webp](https://github.com/superseriousbusiness/gotosocial/blob/main/web/assets/logo.webp) - [sloth logo svg](https://github.com/superseriousbusiness/gotosocial/blob/main/web/assets/logo.svg) - [all default avatars](https://github.com/superseriousbusiness/gotosocial/blob/main/web/assets/default_avatars) diff --git a/docs/assets/sloth.png b/docs/assets/sloth.png deleted file mode 100644 index 2e46dbe35d58dab6cb0ad6874d4db1fd30fbf011..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 35961 zcmXuL1z6MH`#wH;z<|*MsUh7dT_cs2?hfe&=@==gNOwtybl2z(1?d(9rKS77_vicn zaa|i1yiPsOxz7{#dA3*$HAOreN*n+HfcIKS?kxa-iU|OqOaPJZfNv${C&*vup0L;2 zK;%y#&^iYBH@2ISfhPdKMgQLmrE+`iBl4dVUh?{0TCTQUz7`%f0AF8Uu6Hhuo>mra zHe9YAcG<_`lmGx7;I*8LwqMTSny(+#!uwYb_Y)IWQ3^zd=upir<+Ps$41;Tl#PX@s z%u{cyk(}sL=t}r
zP{5H^L_s9udm#&c(fVlyNT~&7!v6XJ1qDB6h fa&x-0S%b1C
zwr<_($2->rmrb-Dzw>Wj*Sd9}pjm^07_AFOwtDlW!
zJ!nD+o!4_nU?L|3A9e;m)VH&7y2qQybwr+1he=Z^ZaXub~8dL)?taq0bNnH=P+
zr0<9Ngqmo=k_3_9j_1`@k4*@eweax+V)?$>I!&RWnyggfzrT`dr6xw5O=XzMHc7z!
z7AythovzjlV7cNI?yfKsMgZoq)E;dvp2Jay
zLx&KjM5WoI?AAk0WLcfwwcg)an1_#r@5WHMC@X8LhKd@Gj2-Vpi65H7lRhH&RqV
zfpbX9|HXr?+{
9+>G;dZv&nG4cl!%
z2|d*B3FuMIqlQV_kN%*Rw6OJsaU?3Y{3J
T-GpKa*RfXQ(bSQQI^g_1fJ-#Z#}H;A|mmgiVOFl$|L
z0k8i`*#JiT26}H;o8rp^V~eIglsPD1YhUZ$4&^68DK8R)vv0t9%eJ@6cTAd64x3c*
zbis<7BT%4SpP^p>vnZj|>p)ih$}2nDxhPqyvOzoVymJ#qy&_k2786s(t7NpbVq)r7
zS;FWCu&Zu