-
Notifications
You must be signed in to change notification settings - Fork 65
[Merged] UnifiedPush and Monet updates #375
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
Conversation
Golbinex
commented
Jan 10, 2026
- Added option to set custom P2P gateway (fixes UnifiedPush uses third-party gateway server #362)
- Added option to disable UnifiedPush (fixes Adding random ntfy.sh topic #316)
- More details for "Background Connection" option (fixes Optimal battery usage and notification connection settings assuming ntfy.sh UnifiedPush being in use? #319)
- Updates for Monet theme
- Added building instructions for Debian
- Bumped Java version since OpenJDK 17 is not available for Debian 13
* Add monet themes * Fix theme * Update monet theme Squashed commits: Nekogram/Nekogram@9037375 Nekogram/Nekogram@ccb08bf Nekogram/Nekogram@b36ee3b Nekogram/Nekogram@a2107fc * Fix parse of some themes * Update monet theme * Update monet themes Squashed commits: Nekogram/Nekogram@397126c Nekogram/Nekogram@80e7996 Nekogram/Nekogram@e55c456 Nekogram/Nekogram@d8b6eb5 Nekogram/Nekogram@8d30be1 Nekogram/Nekogram@204eb20 Nekogram/Nekogram@2f277d0 Nekogram/Nekogram@79160c0 Nekogram/Nekogram@a0dc0e6 Nekogram/Nekogram@d5433fb Nekogram/Nekogram@ef98c14 Nekogram/Nekogram@6e3c35e Nekogram/Nekogram@c575686 Nekogram/Nekogram@a2e1fa6 * Fix resetting wallpaper using monet themes * Update monet themes * Update monet themes --------- Co-authored-by: NekoInverter <chsqwyx@gmail.com> Co-authored-by: tehcneko <7741672-NekoInverter@users.noreply.gitlab.com>
* [TF][PUSH] implemented a simple UnifiedPush support This simple implementation only triggers the networks to resume when an event is received, so Telegram can get the events by itself. This is not like the other push providers where the change information is processed by PushListenerController directly, but it still saves battery since the process disconnects from Telegram servers as soon as the updates are processed. * [MG] add a longclick listener to UnifiedPush Distributors menu This prints informations to know if UnifiedPush is working or not. * [MG] encode the url to pass to p2p.belloworld.it This is needed if urls includes query (like UP-FCM). This also means the proxy had to be a little more complex, since nginx didn't do url decoding: https://gist.github.com/drizzt/93d253bca4f64fae7df2a4544a98c08d --------- Co-authored-by: Timothy Redaelli <timothy@fsfe.org>
List markers and bold headings have been added. F-Droid has long announced the addition of basic HTML support, including for lists, but currently the only way to make HTML lists look good is to combine their code into a single line, which makes them difficult to read and edit.
Co-authored-by: Golbinex <2061409-Golbinex@users.noreply.gitlab.com>
| sourceCompatibility JavaVersion.VERSION_21 | ||
| targetCompatibility JavaVersion.VERSION_21 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Java 17 is not available on Debian 13 so I bumped the version to 21 and the app compiled and runs fine. However if you want to leave the original version, I can remove this change from PR and change building instructions to use Debian 12.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nekogram also uses Java 21.
https://github.com/Nekogram/Nekogram/blob/main/build.gradle#L23
| You can download binaries from Releases or from my [Telegram channel Forkgram](https://t.me/forkgram). | ||
|
|
||
| ## Building instructions: | ||
| [BUILDING.md](BUILDING.md) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if the building instruction is only for debian 13, why there is no note about that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated README to make it clear they're meant for Debian 13.
|
Okay, I'll merge your commits with the previous ones. |
* Add monet themes * Fix theme * Update monet theme Squashed commits: Nekogram/Nekogram@9037375 Nekogram/Nekogram@ccb08bf Nekogram/Nekogram@b36ee3b Nekogram/Nekogram@a2107fc * Fix parse of some themes * Update monet theme * Update monet themes Squashed commits: Nekogram/Nekogram@397126c Nekogram/Nekogram@80e7996 Nekogram/Nekogram@e55c456 Nekogram/Nekogram@d8b6eb5 Nekogram/Nekogram@8d30be1 Nekogram/Nekogram@204eb20 Nekogram/Nekogram@2f277d0 Nekogram/Nekogram@79160c0 Nekogram/Nekogram@a0dc0e6 Nekogram/Nekogram@d5433fb Nekogram/Nekogram@ef98c14 Nekogram/Nekogram@6e3c35e Nekogram/Nekogram@c575686 Nekogram/Nekogram@a2e1fa6 * Fix resetting wallpaper using monet themes * Update monet themes * Update monet themes --------- Co-authored-by: NekoInverter <chsqwyx@gmail.com> Co-authored-by: tehcneko <7741672-NekoInverter@users.noreply.gitlab.com>
* [TF][PUSH] implemented a simple UnifiedPush support This simple implementation only triggers the networks to resume when an event is received, so Telegram can get the events by itself. This is not like the other push providers where the change information is processed by PushListenerController directly, but it still saves battery since the process disconnects from Telegram servers as soon as the updates are processed. * [MG] add a longclick listener to UnifiedPush Distributors menu This prints informations to know if UnifiedPush is working or not. * [MG] encode the url to pass to p2p.belloworld.it This is needed if urls includes query (like UP-FCM). This also means the proxy had to be a little more complex, since nginx didn't do url decoding: https://gist.github.com/drizzt/93d253bca4f64fae7df2a4544a98c08d --------- Co-authored-by: Timothy Redaelli <timothy@fsfe.org>
|
@Golbinex You do a job that people need, but I wouldn't want to get my hands in that. |
|
@23rd I kind of implemented UnifiedPush half-way so I had to finish what I started 😁 |