Commit Graph

42 Commits (bcb3b627b983908e8fb9a0b67140e48415157f53)

Author SHA1 Message Date
Eugen Rochko 425311e1d9
Change referrer policy to be controlled by header in web UI ()
Matt Jankowski 6f5eb22135
Mailer header partial access cleanup ()
Matt Jankowski bd6c96f737
Fix broken i18n in text welcome mailer tags area ()
Matt Jankowski fa2e7b1708
Migrate fontawesome->material in more views ()
Claire f3430eebbb
Fix hashtag string interpolation in welcome email ()
Matt Jankowski 601834d746
Use partial collection render for welcome mailer features ()
Jeong Arm 4045c069f8
Use `public_visibility` ()
Matt Jankowski cde3206478
Simplify feature loop in welcome mailer ()
Matt Jankowski e85f24174e
Simplify checklist step loop in welcome mailer ()
Claire 82c2af0356
Fix `user_mailer.welcome.hashtags_recent_count` not having plural form ()
Claire 1d721b21e1
Add attribution to Tabler.io icons used in the new mailer designs ()
HTeuMeuLeu 934cab7508
New welcome email ()
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
HTeuMeuLeu 1a3859d8e2
Update follow and follow_request emails ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Renaud Chaput cb5ac15923
Use a helper to avoid using `media/` asset prefixes ()
HTeuMeuLeu 7f471e70c0
Update new email templates ()
Co-authored-by: Matt Jankowski <matt@jankowski.online>
Claire 0766c9a631
Add card with who invited you to join when displaying rules on sign-up ()
Nick Schonning 65669d3c57
Fix more haml-lint Rubocop ()
Claire 21db91a0a8
Remove sidebar dead code ()
Christian Schmidt c4cf92094e
Do not strip tags from `Setting.site_short_description` ()
Rose 4f15fd0ba1
Fix style for hashes ()
* Fix style for hashes

Make the style for hashes consistent.

* New style

More consistency
Eugen Rochko b04633a961
Add image processing and generate blurhash for server thumbnail ()
Remove separate server hero setting
Eugen Rochko d2528b26b6
Add server banner to web app, add `GET /api/v2/instance` to REST API ()
Jeremy Kescher ec83e2a35e
Fix missing scope for current_user in _sidebar.html.haml ()
Fixes https://github.com/mastodon/mastodon/issues/18821

Fix suggested by https://miaow.gay/@meganeko/108665430982072358
Eugen Rochko 45aa5781ce
Change brand color and logotypes ()
- Add rake task for generating Apple/Android icons and favicons from SVG
- Add rake task for generating PNG icons and logos for e-mails from SVG
- Remove obsolete Microsoft icons and configuration
- Remove PWA shortcut icons
Eugen Rochko 27965ce5ed
Add trending statuses ()
* Add trending statuses

* Fix dangling items with stale scores in localized sets

* Various fixes and improvements

- Change approve_all/reject_all to approve_accounts/reject_accounts
- Change Trends::Query methods to not mutate the original query
- Change Trends::Query#skip to offset
- Change follow recommendations to be refreshed in a transaction

* Add tests for trending statuses filtering behaviour

* Fix not applying filtering scope in controller
Eugen Rochko 6e50134a42
Add trending links ()
* Add trending links

* Add overriding specific links trendability

* Add link type to preview cards and only trend articles

Change trends review notifications from being sent every 5 minutes to being sent every 2 hours

Change threshold from 5 unique accounts to 15 unique accounts

* Fix tests
ThibG 4babf5b8b5
Fix lock icon not being shown when locking account in profile settings ()
ThibG 0e362b7678
Fix end-user-facing uses of inline CSS ()
* Move some inline styles to CSS files

* Move default_account_display_name span to fix useless tags with duplicate id

* Change handling of public pages spoiler text from inline CSS to dataset attribute

* Use the `dir` HTML attribute instead of inline CSS

* Move status action bar inline CSS to CSS file

* Hide logo resources from CSS file, not inline CSS

Fixes 

* Move translation prompt styling from inline CSS to CSS file

* Move “invited by” styling on registration form from inline to CSS file

* Use the progress tag to display poll results in JS fallback

* Fix poll results JS-less fallback when the user has voted for an option

* Change account public page “moved” notice to use img tags instead of inline CSS

* Move OTP hint inline CSS to SCSS file

* Hide JS-less fallback vote progressbars from accessibility tools

Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
BSKY fccf83e1f2 Add noopener and/or noreferrer ()
Eugen Rochko 19cdc62765
Remove fallback to long description on sidebar and meta description ()
Fix 
Eugen Rochko 16c1abdb2d
Fix user preference to show trends not working on public pages ()
Fix 
Eugen Rochko cb447b28c4
Add profile directory to web UI ()
* Add profile directory to web UI

* Add a line of bio to the directory
Eugen Rochko c6b4b923e6
Add trends to public pages sidebar ()
Eugen Rochko b851456139
Remove Atom feeds and old URLs in the form of `GET /:username/updates/:id` ()
Yamagishi Kazutoshi 8347479f5d Bump webpacker from 3.5.5 to 4.0.2 ()
Bumps [webpacker](https://github.com/rails/webpacker) from 3.5.5 to 4.0.2.
- [Release notes](https://github.com/rails/webpacker/releases)
- [Changelog](https://github.com/rails/webpacker/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rails/webpacker/compare/v3.5.5...v4.0.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>
Paweł Ngei 5c7f641565 Escape HTML in profile name preview in profile settings ()
* fix non-escaped html in the profile settings

* provide a default profile text in case if there's no custom one

* update haml syntax

* simplify default profile name to username

* sanitize user-input html but display emojified icons
Eugen Rochko cc56f2230a
Add separate setting for sidebar text (site_short_description) ()
* Add separate setting for sidebar text (site_short_description)

* Fix tests
Eugen Rochko bb71538bb5
Redesign public profiles and toots ()
yhirano 48594b18e6 Added haml-lint and fix warnings ()
* add haml_lint to Gemfile

* add .haml-lint.yml

* fix warnings of haml_lint
Matt Jankowski 532bec6e56 Clean up flash display in views ()
* Add flashes partial to DRY up admin/auth layouts

* Further consolidate flash messages
Eugen Rochko 7e14eefc81 Replace logo, fix - delete/unreblog/unfavourite API, fix - app
registration API
Eugen Rochko d4b9b289e8 Adding Mastodon logo