Skip to content

Double bottom implementation #359

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 308 commits into
base: master
Choose a base branch
from

Conversation

Zeriamans
Copy link

Hello!
This is our implementation of "Double Bottom" feature. Detailed description could be found here http://postuf.com/postufgram

devRizvan13 and others added 30 commits July 23, 2020 20:11
- Set cancel by PresentationData.strings
- Fix back on hideAccount
…e when closing the app while any hidden account is open
Made open account appear on blurred snapshot instead of the hidden on…
…Id` attribute of the account which is hidden
Disabled displaying push notifications when payload contains `account…
# Conflicts:
#	submodules/TelegramUI/Sources/AuthorizationSequenceController.swift
Fixed webrtc build for x64
…gram-false-bottom-ios into Postuf-feature/false-bottom

# Conflicts:
#	Telegram/Telegram-iOS/en.lproj/Localizable.strings
#	submodules/TelegramPresentationData/Sources/PresentationStrings.swift
#	submodules/TelegramUI/Resources/PresentationStrings.mapping
Zeriamans and others added 26 commits April 16, 2021 21:16
# Conflicts:
#	Telegram/Telegram-iOS/en.lproj/Localizable.strings
#	Telegram/WidgetKitWidget/TodayViewController.swift
#	submodules/ItemListUI/Sources/Items/ItemListDisclosureItem.swift
#	submodules/TelegramPresentationData/Sources/PresentationStrings.swift
#	submodules/TelegramUI/Resources/PresentationStrings.mapping
#	submodules/TelegramUI/Sources/AppDelegate.swift
* Background fixes

* videoJoined

* Add gradient and pattern to default dark tinted wallpapers

* remove duplicate

* Update forward panel

* Enable logging in debug

* Fix motion

* Update background preview text

* Video Chat Improvements

* Stickers Import Improvements

* Various Fixes

* Stickers Import Improvements

* Add 2GIS as open-in option

* Fix send button actions menu disappearance

* Update localization

* Update tgcalls

* Workaround for invalid opaque background color decoding

* Fix blurred background preview

* Fix current item index in wallpaper gallery

* Fix theme decoding

* Update theme colors

* Don't cache temporary images

* Offset the message navigation button icon

* Fix pattern theme preview

* Add withUpdatedResource

* Don't crossfade when ThemePreviewController is presented

* Cache wallpaper with slug resource reference

* Display blurred wallpapers as blurred

* Don't blur if not necessary

* Remove debug code

* Add bot commands menu

* Stickers Import Improvements

* Fix night accent colors

* Fix gif sending options

* Don't load unnecessary pattern image

* Request thumbnail instead of medium for screencasts

* Update tgcalls

* If no pattern available, proceed with opening screens

* Fix tinted night preview

* Support semi-transparent gradients

* Adjust blurs

* Filter repeated patterns

* Apply updated wallpaper

* Fix default tinted theme

* Fix default night colors

* Adjust inverted pattern presentation

* Dismiss keyboard on color panel hide

* Various Fixes

* Various Fixes

* Fix default pattern selection by slug

* Optimize image drawing

* Don't generate empty images

* Hide reply when selecting stickers

* Use malloc instead of mmap for now

* Don't reuse drawing context

* Fix use after free

* Various Fixes

* Various Fixes

* Show a toast and don't highlight bubbles randomly when navigating to a deleted message via link

* Limit DrawingContext to non-zero sizes

* Fix music panel

* Clip video message scrubber to corners

* Add signpost for debugging

* Autoscale builtin pattern thumbnail

* Fix bubbles in photo gallery wallpaper preview

* Improve context panels appearance animation

* Cleanup

* Update libvpx build

* Support blurred RadialStatusNode

* Scale legacy builtin wallpaper thumbnail

* Play trending panel stickers (while searching)

* Update chat scroll indicator color

* Add missing ready

* Restore theme color list, add gradients

* Fetch pattern data from all sources

* Fix black pattern appearance

* Update tgcalls

* Don't call updateAbsoluteRect for off-screen items

* Various Fixes

* Address wallpapers using id if available

* Reduce dark pattern glitching

* Place accessory panel nodes on top of input background

* Stickers Import Improvements

* Stickers Import Improvements

* Add option to simulate stickers import

* Bump version

* Support bot reply placeholders

* Stickers Import Improvements

* Fix peer info header buttons

* Fix player stoppedAtEnd

* Don't animate message background unless it's changed

* Various Fixes

* Ensure that ordered item list keys are unique

* Rewrite default pattern loading

* Don't use context after generating an image

* Fix recent items synchronization

* Fix menu button icon coloring

* Various Fixes

* Initial implementation of password restore

* Support updated API

* Various Fixes

* Update theme colors

* Fix venue item highlight

* Wallpaper fixes

* Update tgcalls

* Update tgcalls

* Don't cache svg files

* Restore wide color

* Update rlottie

* Update tgcalls

* Update tgcalls

* Bump version

* Revert API

* Various Fixes

* Update tgcalls

* Screencast shutdown improvements

* Update tgcalls

* More screencast fixing

* Bump version

* Unbump version

* Move data cleanup to background

* Revert "Unbump version"

This reverts commit eaa582c.

* Update tgcalls

* Update tgcalls

* Update tgcalls

* Update tgcalls

* Implement screen capture audio sharing

* Update rlottie

* Enable outgoing audio processing

* Update tgcalls [skip ci]

* Add forwarding to multiple people simultaneously

* Fix build

* Fix modal installed sticker packs list editing

* no message

* Fix loading foreign channels

* Update tgcalls

* Update API

* metal drawing improvements

* Support MSG_WAIT_TIMEOUT

* Fix typo

* API updates

* Fix chat history loading

* Remove debugging

* Update password reset

* Revert changes

* Update libvpx

* Support new padding scheme

* Fix typo [skip ci]

* Fix typo

* Refactoring [skip ci]

* Refactoring [skip ci]

* Password reset fixes

* Cleanup

* Password reset fixes

* Update generation

* Improve msg_wait

* Implement screencast audio channel

* Password reset UI fixes

* Update localization

* Refactoring

* Tune minimum duration of media which position is stored

* Support links for video timecodes

* Add gradient backgrounds in passcode entry screen

* Add pinch-to-zoom in video message capture

* Fix imported sticker pack link autoformatting

* Add stickerpack strip expansion

* Fix build

* Remove legacy code

* Fix autocorrection

* Ensure padding size

* Refactoring

* Refactoring

* Fix peer-specific stickerpack item layout

* Support bot commands update

* Add password removed screen

* Support updated voice chats API

* Add missing errors

* Various Fixes

* fix for mac

* Update tgcalls

* Separate keys

* Add ids

* Password remembering improvements

* Fix passcode button input cancellation

* Update localization

* Fix disable video in background

* Update localization

* Update localization

* Update version

* Fix armv7 build

* Trigger build

* Fix passcode keyboard color

* Improve passcode background and buttons for inverted pattern gradient wallpapers

* Tune passcode background colors

* Update tgcalls [skip ci]

* Fix crash

* Bump version

* Set version

* Removed the use of UIWebView

Co-authored-by: Ali <>
Co-authored-by: overtake <overtakeful@gmail.com>
Co-authored-by: Ilya Laktyushin <ilya@laktyush.in>
* Fix recent items synchronization

* Fix menu button icon coloring

* Various Fixes

* Initial implementation of password restore

* Support updated API

* Various Fixes

* Update theme colors

* Fix venue item highlight

* Wallpaper fixes

* Update tgcalls

* Update tgcalls

* Don't cache svg files

* Restore wide color

* Update rlottie

* Update tgcalls

* Update tgcalls

* Bump version

* Revert API

* Various Fixes

* Update tgcalls

* Screencast shutdown improvements

* Update tgcalls

* More screencast fixing

* Bump version

* Unbump version

* Move data cleanup to background

* Revert "Unbump version"

This reverts commit eaa582c.

* Update tgcalls

* Update tgcalls

* Update tgcalls

* Update tgcalls

* Implement screen capture audio sharing

* Update rlottie

* Enable outgoing audio processing

* Update tgcalls [skip ci]

* Add forwarding to multiple people simultaneously

* Fix build

* Fix modal installed sticker packs list editing

* no message

* Fix loading foreign channels

* Update tgcalls

* Update API

* metal drawing improvements

* Support MSG_WAIT_TIMEOUT

* Fix typo

* API updates

* Fix chat history loading

* Remove debugging

* Update password reset

* Revert changes

* Update libvpx

* Support new padding scheme

* Fix typo [skip ci]

* Fix typo

* Refactoring [skip ci]

* Refactoring [skip ci]

* Password reset fixes

* Cleanup

* Password reset fixes

* Update generation

* Improve msg_wait

* Implement screencast audio channel

* Password reset UI fixes

* Update localization

* Refactoring

* Tune minimum duration of media which position is stored

* Support links for video timecodes

* Add gradient backgrounds in passcode entry screen

* Add pinch-to-zoom in video message capture

* Fix imported sticker pack link autoformatting

* Add stickerpack strip expansion

* Fix build

* Remove legacy code

* Fix autocorrection

* Ensure padding size

* Refactoring

* Refactoring

* Fix peer-specific stickerpack item layout

* Support bot commands update

* Add password removed screen

* Support updated voice chats API

* Add missing errors

* Various Fixes

* fix for mac

* Update tgcalls

* Separate keys

* Add ids

* Password remembering improvements

* Fix passcode button input cancellation

* Update localization

* Fix disable video in background

* Update localization

* Update localization

* Update version

* Fix armv7 build

* Trigger build

* Fix passcode keyboard color

* Improve passcode background and buttons for inverted pattern gradient wallpapers

* Tune passcode background colors

* Bump version

* Implement floating avatars

* Add more logging

* Fix corner radius in comment buttons

* Fix media selection panel background

* Various Improvements

* Trigger build

* Fix password input fields colors

* Update tgcalls [skip ci]

* Fix crash

* Bump version

* Set version

* Disallow variable number of channels

* Implement Metal rendering

* Fix crashes

* Initial instant video expansion implementation

* Refactoring

* Fix x86 build [skip ci]

* Fix dynamic audio channel count

* Don't loop secret videos

* Add more logs

* Refactor string generation

* Modernize video playback UI

* Various Fixes

* Extract libyuv into a standalone module

* Move to generated string resources

* Fix format argument generation

* Refactor SyncCore back into TelegramCore

* Refactoring

* Fix localization

* Don't display noise suppression control if can't speak

* Floating avatar bug fixes

* Add playback rate control for Youtube & Vimeo

* Update tgcalls

* Update video calls camera preview design

* added missing methods

* Screen sharing in 1-to-1 calls

* Add external audio

* Fix localization

* Various Improvements

* Various Fixes

* Various Fixes

* Various Fixes

* Various Fixes

* Update tgcalls

* Various Fixes

* Various Fixes

* Fix camera zoom

* Fix avatar touch area

* Playback rate updates

* Various Fixes

* Various Fixes

* Various Fixes

* Various Fixes

* remove retryrequest from ready history to avoid congestion

* Pre-release fixes

* Fix localization

* Various Fixes

* Various Fixes

* Various Fixes

* Various Fixes

* Various Fixes

* Various Fixes

* Various Fixes

* Various Fixes

* Fix camera video recording with music in background

* Various improvements

* Various Fixes

* Fix rotation

* Various Fixes

* Add months to inline timer format

* Don't allow removing the screenshot message

* Various Fixes

* Fix video mirroring

* Various Fixes

* Allow adjusting video playback speed in webpage attachments

* Update localization

* Update localization

* Add missing id

* Allow saving webpage media

* Fix sticker packs list in drawing screen

* Fix screen sharing entry localization

* Fix video members notice

* Fix video members notice

* Fix video members notices

* Update tgcalls

* Bump version

* Various Fixes

(cherry picked from commit cf4f852)

* Fix attached content file layout

(cherry picked from commit 7712ad0)

* Video Messages Improvements

(cherry picked from commit e614343)

* Update project generation

* Fixed bugs after the merge

Co-authored-by: Ali <>
Co-authored-by: Ilya Laktyushin <ilya@laktyush.in>
Co-authored-by: overtake <overtakeful@gmail.com>
* Revert "Temporarily disable  -warnings-as-errors, investigate whole-module build"

This reverts commit 80380d2.

* Fix build

* Fix build

* Bump version

* Fix more warnings

* Fix more warnings

* Fix some errors

* Fix build

* Fix build

* Fix build

* Fix more warnings

* Fix more warnings

* Refactoring

* Fix negative ids

* Add try-catch

* Combo update

* Various Improvements

* Fix videoplayer UI in landscape

* Fix trending packs shimmer animation

* Fix trending packs animation playback

* Fix static stickerpack thumbnail

* Various Fixes

* Animation updates

* Fix more warnings

* Add sticker packs reordering

* Change media saving option strings

* Fix audio playback rate

* Refactoring

* Various Improvements

* Various Improvements

* Support video streaming API (PoC)

* Fix decode warning

* Change quality

* Show trending icon in packs scroller when trending strip is dismissed in the grid

* Various theme color picking fixes

* Improved streaming

* Various theme editing imrpovements

* Add "Choosing sticker" input activity

* Various Fixes

* Various theme editing fixes

* Various theme editing fixes

* Theme decoding fixes

* Various theme editing fixes

* syntax fixes

* Fix theme wallpaper coding

* Theme editing fixes

* Update API and tgcalls

* Update tgcalls

* Update tgcalls

* Implemented chat-specific themes

* Temporary fi
x

* Chat-specific theme improvements

* Chat-specific theme improvements

* Initial ad messages implementation

* Fix ad buttons

* Update tgcalls

* Update API

* Various Improvements

* Fix pattern wallpaper rendering

* Fix cdn file random access

* Fix accessory panel icons

* Send choosing sticker activity

* Fix bubbles background occasionally not rendering first time

* Fix choosing sticker activity layout in chat list

* Various Fixes

* Update tgcalls

* Fix text

* Update tgcalls

* Bump version

* Fix game bot popup

* Update github actions

* Fix build

* Fix build

* Temporarily disable -Werror in LegacyComponents

* Channel UI fixes

* Various Fixes

* Fix input media panel icons

* Various Fixes

* Various Fixes

* Various Fixes

* UI updates

* Update tgcalls

* Various Fixes

* Various Fixes

* Fix crash

* Fix media selection

* Revert tgcalls

* Update tgcalls

* Update tgcalls

* Update tgcalls

* Various Fixes

* Various Fixes

* Various Fixes

* Various Fixes

* Various Fixes

* Various Fixes

* Separate channel voice chat localization

* Channel navigation improvements

* Revert localization [skip ci]

* Fix 32-bit crashes [skip ci]

* Various Fixes

* Update localization

* Various Fixes

* Various Fixes

* Update localization

* Various Fixes

* Revert voice chat recording UI

* Various Fixes

* Various Fixes

* Update localization

* Fix localization

* Move overscroll view to the parent view

* Fix choosing sticker activity for groups

* Fix trending packs dismissal

* Fix localization

* Fix build

* Various Fixes

* Various Fixes

* Fix Send Message option text in forwarding

* Fix trending packs dismissal

* Optimize pattern wallpapers rendering

* Chat-specific themes improvements

* Update tgcalls

* Update dark chat theme

* Various Improvements

* Support view list

* Chat-specific theme improvements

* Add outgoing accent color customization

* Test additional emoji animations

* Various theme editor fixes

* Update read list UI

* Various theme editor fixes

* Various theme fixes

* Theme editor fixes

* Various Improvements

* Theme editor improvements

* Various theme improvements

* UI fixes

* Update localization

* Various Improvements

* Fix backdrop animation

* Fix send button

* Fix instant video background not updating in theme change

* Fix dark appearance flag

* Fix read state sync

* Bump version

* Update animations

* Update animations

* Fix theme preview crossfade

* Update context menu animation

* Various chat theme fixes

* Update localization

* Fix cache

* Fix typo

* Add animated emojis in chat theme selection screen

* Fix chat theme preview

* Various Fixes

* Chat theme fixes

* Context UI animations

* Update Context UI

* Emoji animations improvements

* Various Fixes

* Fix context UI

* Various chat theme fixes

* Periodically update avialable chat themes list

* Fix string fallback

* UI fixes

* Adjust overscroll dismiss

* Various fixes

* Update localization

* Various Fixes

* Fix urlencode

* Fix context UI positioning

* Fix synthetic user id hashes

* Update API

* Update emoji animation time offset rounding

* Fix emoji interaction json parsing

* Animated emoji animations fixes

* Fix color

* Fix url parsing

* Various Improvements

* Play haptic feedback when receiving emoji interaction

* Return voice chat recording title setup

* Update emoji animations haptic

* Fix chat theme tooltip deactivation

* Bump version

* Various Fixes

* Set choosing sticker activity when interacting with search by emoji

* Various fixes

* Theme preview crossfade fixes

* Fix emoji animations positioning on iPad

* Play emoji animations only in personal chats

* Remove test code

* Fixed the flow of messages sent between accounts

Co-authored-by: Ali <>
Co-authored-by: Ilya Laktyushin <ilya@laktyush.in>
Co-authored-by: overtake <overtakeful@gmail.com>
…67)

* [HRB-904] Fixed AppCenter targets for crash analytics implementation

* [HRB-904] Variable fix
* [HRB-904] Fixed AppCenter targets for crash analytics implementation

* [HRB-904] Variable fix

* [HRB-904] isAppStoreBuild validation fix
@CLAassistant
Copy link

CLAassistant commented Jul 16, 2022

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
0 out of 3 committers have signed the CLA.

❌ Ruydita
❌ Zeriamans
❌ egor-postuf


Ruydita seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@Derad6709
Copy link

🫤

* Force remove timestamp based attributes

* Fix intersecting font attributes display

* Fix settings other accounts avatar font

* Update gitignore

* Update tgcalls

* Media-related improvements

* Add bot to chat improvements

* Another feed experiment

* Translation improvements

* Fix hidden reply author name in forwards

* Fix build

* Translation Improvements

* Fix build

* Various Fixes

* Cleanup

* Update build tools

* Don't crash on invalid SVG cache data

* Update tgcalls

* Fix race condition

* Update tgcalls

* Cherry-pick various fixes

* Various Improvements

* Testing support

* Update tgcalls

* Initial web app implementation

* Web app improvements

* Web app improvements

* Context UI improvements

* Web app improvements

* Custom sound support

* Add more logs

* Web app improvements

* Fix context controller dismiss when there is no content

* Update API

* Web app improvements

* Modernize API

* Update API

* Web app improvements

* Update localization

* Web app improvements

* Various fixes

* Update build dependencies

* Add documentation-conforming checks

* Peer sound and message removal update

* Fix layout

* Web app fixes

* Fix reference revalidation

* Fix title button

* NotificationSoundSettings

* Fix build [skip ci]

* NotificationSoundSettings

* Update bazel

* Notification sounds update

* Web app improvements

* Web app improvements

* Various fixes

* Update tgcalls

* Fix context menu workaround

* Notification sound updates

* Web app improvements

* Web app fixes

* Web app improvements

* Web app improvements

* Web app improvements

* Pre-release improvements

* Fix iCloud downloads

* Fix time selection

* Cache issue?

* Web app improvements

* Cleanup

* Remove leading separator

* Web app improvements

* Web app improvements

* Add missing icon

* A year is actually 365 days

* Various fixes

* Web app improvements

* Web app improvements

* Web app improvements

* Web app improvements

* Always show Translate in public channels for some languages

* Notification improvements

* Fix use single value

* Web app improvements

* Various fixes

* Web app improvements

* Update menu

* Add range

* Update localization

* Web app improvements

* Add mute tooltips

* Update tgcalls

* Profile improvements

* Evaluate the effect of disabling global module cache

* Add missing animations

* Web app improvements

* Web app improvements

* Pre-release improvements

* Update tgcalls

* UI improvements

* Bump version

* Web app improvements

* Web app improvements

* Web app improvements

* Web app improvements

* Web app improvements

* Web app improvements

* Web app improvements

* Update tgcalls

* Web app improvements

* Web app improvements

* Web app improvements

* Web app improvements

* Fix attach bot payload passing

* Web app improvements

* Web app improvements

* Web app improvements

* Web app improvements

* Make all sounds cloud

* Add missing key

* Fix build

* Web app improvements

* Fix layout

* Web app improvements

* Web app improvements

* Web app improvements

* Web app improvements

* Web app improvements

* Web app improvements

* Web app improvements

* UI improvements

* Fix default sound label

* Web app improvements

* Web app improvements

* Actually copy the translation text

* Web app improvements

* Fix web view metrics update

* bug fixes

* Various fixes

* Various fixes

* UI improvements

* Support mtproto flood control

* Various fixes

* Various improvements

* Various improvements

* Add web app theme request

* Various fixes

* Various fixes

* Various fixes

* Debug: print open file list

* Remove debugging

* Bump version

* Various improvements

* Increase animation duration

* Various fixes

* Various Fixes

* Various fixes

* Various fixes

* Voip updates

* Various fixes

* Fix recent peers

* Various fixes

* Fix fix

* Various fixes

* Various fixes

* Fix fetch

* Preload sounds

* Improve recently searched list filtering

* Improve sharing progress indicator

* Hint as mp3

* Updated log handling

* Notification sound file reference revalidation

* Various fixes

* Add web app removal confirmation

* Revert some code

* Move channel members back to profile screen

* Fix email parsing

* Trigger build

* Cherry-pick some fixes

* Fix invisible pinned messages button actions

* Fixed push and viop notification

- Fixed switch and animation on double bottom notification screen

* [HRB-1071] Fixed nameless push notifications

Co-authored-by: Ali <>
Co-authored-by: Ilya Laktyushin <ilya@laktyush.in>
@nikelborm
Copy link

nikelborm commented Jan 19, 2024

WAIT WHAT???
So you're saying this wasn't merged just because devs haven't signed CLA???
Are you joking?
Screenshot from 2024-01-20 00-16-00

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
10 participants