Commit Graph

211 Commits

Author SHA1 Message Date
Thomas Ricouard 6de27c62b6 Add a new neon icon 2023-02-28 18:52:34 +01:00
Gareth Simpson 9ebe0b314c
Change arrows icon to rocket for boosts (#1099)
* Change arrows icon to rocket for boosts

* Fixing case (part 1)

* Fixing Case (part 2)

* Clean up after merge

* Fix for disabled boost

* Fixes

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-02-28 14:53:31 +01:00
Peter-Josef Meisch 3a144b7792
collapse long posts (#1037) close #914
* collapse long posts

* initialize user pref setting in init(), remove onAppear and onChange(pref) from view

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-02-26 17:32:09 +01:00
Chanhwi Joo bd782abb88
Add 2 new icons (#1080) 2023-02-26 17:19:39 +01:00
Thomas Ricouard 83e4e74329 Swiftformat 2023-02-26 06:45:57 +01:00
Thomas Ricouard 29aaa7c5cb Optimisations: Autoclosure for StatusRowViewModel 2023-02-24 13:25:21 +01:00
Thomas Ricouard cdbfd5db00 Settings: Add an option to clean media cache 2023-02-23 18:43:09 +01:00
Ico Davids e4b880dfe5
Make primary action bold: (#1021) 2023-02-22 22:12:10 +01:00
Ico Davids 4bad875835
Instance Info refinements: (#1012)
- Format stats with thousandseparators
- Format instance version in monospace
2023-02-22 19:16:08 +01:00
Thomas Ricouard a4910037b8 Swiftformat . 2023-02-22 19:09:39 +01:00
Ico Davids dc3a56e37c
Move autoPlayVideo setting to content settings view (#1013) 2023-02-22 18:57:48 +01:00
Thomas Durand 482d93a68d
Removed Boutique, using Bogeda directly (#1007)
* Removed Boutique, using Bogeda directly

* Updated about screen
2023-02-22 18:56:37 +01:00
Ico Davids 678f6f0cdd
Redesigned swipe actions settings (#937)
* Redesigned Swipe Action Settings screen

* Add TODO comments

* Redesigned Swipe Action Settings screen

* Redesigned Swipe Action Settings screen

* Add EN localization strings for primary/secondary

* Consolidate left/right swipe actions into one section

* Switch to targeted Swift concurrency warnings + fix them

* Polish localization update (#936)

* Updates to Dutch localization: (#935)

* de: translated the notes feature (#933)

* Fix 1 line note in centre (#938)

* Sort lists alphabetically in ListAddAccountView (#943)

* Optimize viewId (#942)

* Update Localizable.strings (#941)

Co-authored-by: Yusuke Arakawa <nekolaboratory@users.noreply.github.com>

* Update Nuke (#940)

* Remove Sendable conformance on Client as it's not needed

* Profile: Show about fields inline

* Added a tip that it's a video, and not an image when autoplay is off (#939)

* Added a tip that it's a video, and not an image when autoplay is off

* Centered - bigger version of the video tip

* Share post as image close #885

* Honour in app browser settings when opening profile about fields

* Fix threading UI

* More tweak to capture mode

* Update Localizable.strings (#948)

* Update Localizable.strings (#946)

Translated..

* Updated EmojiText to 2.x (#944)

Interface used by IceCubeApp has not changed from 1.x to 2.x
Looking at the library diff shows new features like SFSymbol powered emojis. Not like we're going to make use of that
https://github.com/divadretlaw/EmojiText/compare/v1.2.0...2.0.2

* Bump to 1.5.5

* Polish localization update (#949)

* Optimize avatar view (#950)

* Reduce AvatarPlaceholderView body calls

* Resize avatars

* Reworked post header view + add option to hide server name from username

* Better header spacing

* Further improvement to the post header

* Polish localization update (#954)

* Update Localizable.strings (#953)

* Show post header thread icon more consistently

* Fix post header

* Fix threading UI

* Fix trending refresh

* de: 1 new string -> translated (#955)

* Update Simplified Chinese Translation (#926)

* Update Korean localization (#957)

* Trim whitespace and newlines in instance rules list (#956)

* Fix theme not being applied live on status row close #961

* Update some translations (#959)

* Add indicator for bots accounts

* Bump to 1.5.6

* Fix status actions on boosting posts (#974)

* Fix context menus for boosts

* Allow my boost of my followers-only post

* Disable boost context menu on posts can't be boosted and show different string for boosting my own private post

* Localizations

* CR

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>

* Fix crash when opening account details (#972) close #918

* Tweak the theme selector view (#975)

Co-authored-by: Yusuke Arakawa <nekolaboratory@users.noreply.github.com>

* Change the Content Settings icon to match the timeline icon again. (#969)

* Fix display of multiple vote polls (#967)

Closes #952

* Updates to Dutch localization (#966)

* Font picker consistency (#960)

* Put SF Rounded into the popup menu with Hyperlegible & Dislexia

* Remove SF Rounded Toggle

* Fix In-App Safari (#945)

* Fix In-App Safari

* Open SFSafariViewController in a separate window

* Swiftformat

* Optimize custom font

* Fix a localization + make the ... menu zone bigger

* Update Localizable.strings (#976)

* Fix Equatable impl for Status and Account (thanks class)

* Make secondary column available on any size + add a toggle + faster macOS window resize

* Bigger secondary column width

* Composer: Fix swipe to dismiss

* Composer: Better ALT editing UI

* updates for Basque (#983)

added missing translations and small fixes

* Updated spanish localization (#982)

Co-authored-by: Roberto Pastor <roberto.pastor@cabify.com>

* Polish localization update (#980)

* Update Localizable.strings (#979)

More strings

* Singularize enum type names (#978)

* Fixes for composer and DM

* Remove padding

* Rename settings.swipeactions.status.icon-style

* Remove unused left/right localizable strings

* Add settings.swipeactions.appearance

* Add settings.swipeactions.status.explanation

* Add settings.swipeactions.primary and settings.swipeactions.secondary

* Add settings.swipeactions.use-theme-colors and settings.swipeactions.use-theme-colors-explanation

* Dutch localization update

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
Co-authored-by: Andrzej Rózga <53080024+AndrzejRozga@users.noreply.github.com>
Co-authored-by: Cthulhux <github@tuxproject.de>
Co-authored-by: Sean Goldin <EvilOne@users.noreply.github.com>
Co-authored-by: David Davies-Payne <d2p@me.com>
Co-authored-by: Alex Grebenyuk <grebenyuk.alexander@gmail.com>
Co-authored-by: Yusuke Arakawa <108506642+nekolaboratory@users.noreply.github.com>
Co-authored-by: Yusuke Arakawa <nekolaboratory@users.noreply.github.com>
Co-authored-by: Thomas Durand <Dean151@users.noreply.github.com>
Co-authored-by: Dejavu Moe <jialong.vip@gmail.com>
Co-authored-by: Chanhwi Joo <56245920+te6-in@users.noreply.github.com>
Co-authored-by: Henrik Nyh <henrik@nyh.se>
Co-authored-by: nixzhu <zhuhongxu@gmail.com>
Co-authored-by: Gareth Simpson <g@xurble.org>
Co-authored-by: Peter-Josef Meisch <pj.meisch@sothawo.com>
Co-authored-by: David Walter <divadretlaw@users.noreply.github.com>
Co-authored-by: Xabi <xabi.rn@gmail.com>
Co-authored-by: Roberto Pastor <wedge.hero@gmail.com>
Co-authored-by: Roberto Pastor <roberto.pastor@cabify.com>
Co-authored-by: Louis Lac <lac.louis5@gmail.com>
2023-02-22 07:07:26 +01:00
Thomas Durand ded5bea4ce
Fix build with Swift 5.8 (#986)
Non optionals in if let don't work on the latest Xcode Beta
2023-02-22 07:04:37 +01:00
Louis Lac bf49a4558c
Singularize enum type names (#978) 2023-02-21 18:52:30 +01:00
Thomas Ricouard 7a997ebd8a Make secondary column available on any size + add a toggle + faster macOS window resize 2023-02-21 13:37:31 +01:00
Thomas Ricouard b259b6739e Swiftformat 2023-02-21 07:23:42 +01:00
Gareth Simpson 53f364b232
Font picker consistency (#960)
* Put SF Rounded into the popup menu with Hyperlegible & Dislexia

* Remove SF Rounded Toggle
2023-02-21 07:08:32 +01:00
Gareth Simpson a2346413ec
Change the Content Settings icon to match the timeline icon again. (#969) 2023-02-21 07:04:17 +01:00
Thomas Ricouard e7fffa07d4 Fix theme not being applied live on status row close #961 2023-02-20 13:00:50 +01:00
Henrik Nyh 2508f98ce1
Trim whitespace and newlines in instance rules list (#956) 2023-02-20 06:41:49 +01:00
Thomas Ricouard 0d6eff391b Reworked post header view + add option to hide server name from username 2023-02-19 19:16:39 +01:00
Thomas Ricouard 65e63c4586 Remove Sendable conformance on Client as it's not needed 2023-02-19 07:51:16 +01:00
Thomas Ricouard ca4e80101f Swiftformat 2023-02-18 07:26:48 +01:00
Thomas Ricouard 40ca3940f6 Reworked account management / selection UI 2023-02-16 07:19:20 +01:00
Thomas Ricouard 6c6d25fc63 Add a setting to use SF Rounded font close #890 2023-02-15 20:03:31 +01:00
Thomas Ricouard d958d10036 Remove Client and RouterPath from StatusRowView env object 2023-02-15 08:46:14 +01:00
Peter-Josef Meisch fc21a3721a
Add setting to disable display of alt texts for media (#854) 2023-02-14 22:13:48 +01:00
Chanhwi Joo af61ff7914
Improve swipe actions (#825)
* Remove icons from settings

* Add new toggle for using the theme tint

* Localizations

* Add icon style picker

* Localizations

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-02-14 07:01:55 +01:00
Andrzej Rózga 01a45b4a52
Localization update - missing strings in Localizable (#838)
- added missing string for "Official icons"
- added missing string for "Icons by ..."
- added String extension in IconSelectorView.swift
  (maybe you prefer it in separate file)

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-02-14 07:01:34 +01:00
Thomas Ricouard eb6050a38f Swiftformat 2023-02-12 16:29:41 +01:00
Chanhwi Joo 0b3319c2e1
Improve swipe actions and settings (#808)
* Remove an unnecessary space from string

settings.swipeactions.status.trailing

* Make SwipeActionsSettingsView to be consistent with others

* Divide none as another section

* Add icons

* Make hollow icons work

* Show different button label by its status

* Use different colors by actions

* Fix swapped icons in settings

* Refactor
2023-02-12 10:37:09 +01:00
Peter-Josef Meisch 124aeef7fb
swipe actions improvements (#785)
* swipe actions improvements

* use old values as default settings

* Polish swipe actions settings

* Fix background color

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-02-11 21:48:08 +01:00
Chanhwi Joo 129671bbd4
Remove settings.display.section phone & settings.display.section.ipad from Localizable.strings (#787) 2023-02-11 20:21:27 +01:00
Peter-Josef Meisch 449c8ba2ed
Consolidate icon style in settings tab (#750) 2023-02-10 06:40:02 +01:00
Sean Goldin d5177f9b2d
Clean up IconSelectorView code (#745)
* Clean up code

* Update IceCubesApp/App/Tabs/Settings/IconSelectorView.swift

Co-authored-by: Ico Davids <ico.davids@gmail.com>

---------

Co-authored-by: Ico Davids <ico.davids@gmail.com>
2023-02-09 18:49:03 +01:00
Thomas Ricouard c3d6eeb998 Add 1 more icon 2023-02-09 12:24:24 +01:00
Gareth Simpson a43a657f1e
Add translate button to the preview post in settings (#724)
* Add translate button to the preview post in settings

* Accidental outdent.

* Add share button to placeholder status and also preview status in settings.
2023-02-09 07:38:04 +01:00
Yusuke Arakawa 32c9d1464a
Fix the theme is not applied to a part of the setting screen on iPadOS (#736)
Co-authored-by: Yusuke Arakawa <nekolaboratory@users.noreply.github.com>
2023-02-09 07:37:16 +01:00
Yusuke Arakawa 11c5da05c2
Remove tab string from iOS app (#669)
* Remove tab string from iOS app

* Added tab string display setting

* Fixes

---------

Co-authored-by: Yusuke Arakawa <nekolaboratory@users.noreply.github.com>
Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-02-09 06:28:16 +01:00
Yusuke Arakawa 81ce93f446
Removed unnecessary indentation from #716 (#730)
Co-authored-by: Yusuke Arakawa <nekolaboratory@users.noreply.github.com>
2023-02-09 06:22:34 +01:00
Gareth Simpson 8f6e6853aa
Add a preview toot to the top of the display settings page. (#716)
* Add a preview toot tot the top of the display settings page.

* DisplayModel doesn't need to be @State

* Disable hitTest

* Example Post

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-02-08 19:09:24 +01:00
Thomas Ricouard c5e43394c8 Add a setting to disable secondary column on iPad / macOS 2023-02-06 18:53:37 +01:00
Thomas Ricouard ff570e214c Properly support OpenDyslexic and HyperLegible Fix #677 2023-02-06 18:15:08 +01:00
Sean Goldin 90ec3d419c
Clean up HapticManager (#678)
* Check for haptic capabilities

* Make manager do most of work

* ABC enum

* Fix spelling 😊

* Small tweak
2023-02-06 17:53:27 +01:00
Thomas Ricouard 730e471718 Composer: Internalize TextView + fix a lot of lag when editing 2023-02-06 12:24:57 +01:00
Thomas Ricouard d7bad26f04 Revert "Add install fonts option"
This reverts commit 34c4521cd4.
2023-02-05 21:22:18 +01:00
Thomas Ricouard 34c4521cd4 Add install fonts option 2023-02-05 21:01:35 +01:00
Thomas Ricouard 7e88339dc5 Add Boutique in the about screen 2023-02-05 08:02:44 +01:00
Thomas Ricouard f55cadfbdd Fix logout 2023-02-04 21:54:41 +01:00
Thomas Ricouard f73bac9ae7 Revert "Cleanup logout code"
This reverts commit f54db5a43e.
2023-02-04 21:53:13 +01:00
Thomas Ricouard f54db5a43e Cleanup logout code 2023-02-04 20:42:51 +01:00
Thomas Ricouard 65ed2d871c Add settings for haptic feedbacks 2023-02-04 17:38:48 +01:00
Thomas Ricouard 6b285cdbcf Cleanup 2023-02-04 17:17:38 +01:00
Thomas Ricouard 8c7efb7df5 Add settings to clear the cache 2023-02-04 15:08:54 +01:00
Thomas Ricouard 71f6cfd52a Add new icons 2023-02-04 07:44:14 +01:00
Peter-Josef Meisch e79b39f952
Add option to start in-app browser in reader view. (#619)
* Add option to start in-app browser in reader view

localizations

* Disable toggle instead of hiding it
2023-02-03 07:04:00 +01:00
Gareth Simpson 5621b243a0
About screen + Open Dyslexic font close #599 (#626)
* Add dyslexia and hyper-legible fonts

* AboutView to satisfy font licensing requirements, and generally credit libraries in use.

* Fix background

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-02-03 07:03:32 +01:00
Sean Goldin 0a10370e16
Extend tappable area (#596) 2023-02-02 06:34:12 +01:00
Gareth Simpson fdb402a065
Boost deduplicating (#524)
* Trying something with caching boosts

* Use an actual cache for caching

* Persist cache to documents folder

* Stray debugging variable

* Unpublish seen variable in the ViewModel

* Settings for deduplicating boosts.

* Changes from review / merge conflicts
2023-02-01 18:56:06 +01:00
Roberto Pastor 0be53d251a
- Added missing localization for font scaling. (#583)
- Updated spanish localization.

Co-authored-by: Roberto Pastor <roberto.pastor@cabify.com>
2023-02-01 18:53:43 +01:00
Thomas Ricouard f0d7ce9fbd Bump to 1.3.4 + add 3 new icons 2023-02-01 18:53:25 +01:00
Thomas Ricouard 22af2db36c Enable font scaling on iOS 2023-01-31 12:16:11 +01:00
Thomas Ricouard 749846b9ba Add a new icon 2023-01-30 19:48:57 +01:00
Thomas Ricouard 16636b12a9 Swift format 2023-01-30 07:27:06 +01:00
Paul 392b1bd01a
Add the ability to set a custom font (#519)
* Add the ability to set a custom font

* Small fixes

* Indent

* Add missing localization

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-01-30 07:25:55 +01:00
Thomas Ricouard 979ba61b07 Add back primary icon in the selector 2023-01-29 16:57:04 +01:00
Thomas Ricouard 62c3f6e04a Add a new settings to disable video auto playing 2023-01-29 10:19:59 +01:00
Sean Goldin c25f94eed1
Don't allow multiple tap on purchase button Close #393 2023-01-29 07:37:23 +01:00
Thomas Ricouard 3fc172c303 Fix typo 2023-01-28 11:00:20 +01:00
Thomas Ricouard edb43040a3 Add credits section to icon selector 2023-01-28 08:58:36 +01:00
Thomas Ricouard b89221a535 Code cleanup / format / lint 2023-01-27 20:36:40 +01:00
Thomas Ricouard 418e9545ba Completely clear duplicated push notifications issue 2023-01-27 16:51:29 +01:00
Thomas Ricouard de4346c47e Add push notification settings in profile context menu 2023-01-27 12:18:17 +01:00
Thomas Ricouard 92c1f40535 Add 3 new icons 2023-01-27 07:54:59 +01:00
Thomas Ricouard cf4c43f81e Add missing localizations 2023-01-27 07:47:52 +01:00
Thomas Ricouard 4a5b0eb2e6 Fix deleting push sub on logout close #417 2023-01-27 07:47:43 +01:00
Paul Traylor 642cca4002
Add link to system settings (#404)
* Add link to system settings

* Add to Localizable.strings

* Add .tint(.black) so that it matches NavigationLink
2023-01-27 06:53:05 +01:00
Thomas Ricouard a10e3d239b Add two new icons 2023-01-26 18:27:27 +01:00
Thomas Ricouard ff17622cb9 Make it clear that custom theme are disabled if match system enabled close #277 2023-01-26 18:27:16 +01:00
Thomas Ricouard 7d435d7557 Push notifications: Add a magic button to fix duplicate notifications 2023-01-26 13:50:02 +01:00
Thomas Ricouard d1ed8e962b Push notifications: Per account settings 2023-01-26 13:21:35 +01:00
Thomas Ricouard 43ac56302e Move settings tab and profile tab around 2023-01-26 07:34:29 +01:00
Thomas Ricouard 5cd9ddd945 New account settings + create / edit server side filters 2023-01-25 21:18:34 +01:00
Jérôme Danthinne 9b3b3692ee
Support for follow requests (#376) close #321
* Support for follow requests (#321)

* Run SwiftFormat

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-01-25 13:02:28 +01:00
Gareth Simpson ab4ac1b004
Local content settings close #338 (#362)
* Local settings for sensitive content.

* Local sensitive content settings

* Added the posting settings as well as the reading ones.

* Menu item / nav title mismatch

* Fixes

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-01-25 06:28:16 +01:00
Thomas Ricouard 1aadb0ce3a Add a setting for disabling social keyboard close #355 2023-01-24 21:44:33 +01:00
Thomas Ricouard d05afd93c4 Push notifications: display account name if multi account fix #344 2023-01-24 13:38:26 +01:00
Thomas Ricouard 8fe6eddead Settings: Add a button to hide OpenAI button in the composer 2023-01-23 20:45:18 +01:00
Roberto Pastor 5fe928bd22
Spanish localization for missing new keys. Adding localization support for hardcoded "App Version" text. (#303) 2023-01-23 13:24:49 +01:00
Steve Kalkwarf 3658c4f829
Primitive validation of domain before trying to connect (#287)
* Primitive validation of domain before trying to connect

Every domain needs at least one "dot" and can't end with a "dot." Don't try connecting unless/until these are both true.

* Correctly reset instance when invalid

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-01-23 06:41:01 +01:00
Thomas Ricouard 3e3c109a84 Fix #272 2023-01-22 16:59:56 +01:00
Thomas Ricouard fc4524cef8 Merge branch 'main' of https://github.com/Dimillian/IceCubesApp 2023-01-22 15:58:49 +01:00
Thomas Ricouard bdfb8039af Add a new tier for the tip jar 2023-01-22 12:27:00 +01:00
Roberto Pastor 45ec990384
Added missing translation on spanish. Replacing hardcoded text with localization key (non spanish translations still missing). (#259)
Co-authored-by: Roberto Pastor <roberto.pastor@cabify.com>
2023-01-22 11:16:48 +01:00
Thomas Ricouard 921d28a57a Add setting to hide translate button close #252 2023-01-22 09:15:01 +01:00
Thomas Ricouard fd28864063 Fix glitching themes on follow system fix #253 2023-01-22 06:53:18 +01:00
Thomas Ricouard a79c5691e0 Run SwiftFormat 2023-01-22 06:38:30 +01:00
Thomas Ricouard b577e41eae Improve add account screen 2023-01-21 16:54:43 +01:00
Patrick e375d792a6
Moved app version to the section footer (#210) 2023-01-21 09:38:30 +01:00