Commit graph

368 commits

Author SHA1 Message Date
724cb64be8
Fix conflicting provider error 2019-12-06 01:21:23 +00:00
e8b6b3e629
996 2019-12-05 11:26:53 +03:00
c8c7520853
9.9.4
Had to rewrite spoilerimg related parts of supplemental as they moved okhttp3
code to discord's own codebase.

However, one benefit of this for us is that it now shows SPOILER_ while you're
uploading too.
2019-11-28 09:41:59 +03:00
aeac528a16
Release CTC for 9.9.3. 2019-11-27 13:17:50 +03:00
1066c3c5a6
Supplemental: Fix spoilerimg
Closes #39
2019-11-27 13:16:57 +03:00
50b3f050c4
Bunch of text changes + default to apksigner 2019-11-26 21:47:28 +03:00
446fe76e08
Get 9.2.2 slashcommands fully working
god fucking finally
2019-11-26 19:03:48 +03:00
d8b4967f55
Slashcommands. For 9.9.2. Woo?
(Still need to hook into another part of code for /ctc commands, which
I'll take a look at in a bit)
2019-11-26 18:00:16 +03:00
8ce959e6ed
992 2019-11-26 16:22:25 +03:00
186b776d63
Split off slashcommands' helper utils to supplemental patch 2019-11-26 16:14:32 +03:00
05dd5c6f99
Add 9.9.1.
Still no slashcommands -> I'll be splitting it off into two patches, so
that the requirement of its presence for CTC boot can be removed as I
work on reimplementing the actual slash command part.
2019-11-26 12:13:44 +03:00
5904f24142
Pedantry: remove 9.8.0/4 from slashcommands's support list 2019-11-18 00:31:43 +03:00
7193f29239
Port patches to 9.8.6
No builds will happen until I sort out slashcommands, or at least helper
utils in it.

ETA: Tomorrow.
Sorry :/
2019-11-18 00:28:56 +03:00
b7f98a4da8
984, incomplete
- Archived compact
- Archived pureevil
- slashcommands needs rewrite
2019-11-14 23:32:15 +03:00
2f8444a050
slashcommands: try to solve crash on boot 2019-10-31 12:40:32 +03:00
687fff10fc
slashcommands: Hopefully fix the 9.8.0 issue
16 bit variables are hell.

Couldn't do this fix without:
- https://github.com/JesusFreke/smali/wiki/Registers
- http://pallergabor.uw.hu/androidblog/dalvik_opcodes.html
2019-10-31 12:16:47 +03:00
57d684be15
slashcommands: wack. 2019-10-31 11:45:50 +03:00
4719221fc4
slashcommands: attempt a fix on 9.8.0 2019-10-31 11:39:12 +03:00
0481c2149e
Add 9.8.0 support
Untested, slashcommands miiight break.
2019-10-31 11:33:05 +03:00
0c773d4daf
9.7.0
Apparently as of 9.6.9 we're back to gw v7.

They're making the code and more enterprise too over time. Poor discord
devs.
2019-10-10 08:54:42 +03:00
97999f4119
customtheme: fix selected/active channel's color
Closes #37
2019-10-08 10:22:17 +03:00
af3340e5d8
notrack: fix an issue where I accidentally nop'd an incorrect func 2019-10-08 05:26:15 +03:00
77a2e8ae2f
ctcci: Instead of having one pre/post script, allow for separate pre-post scripts
uwu
2019-10-08 05:17:06 +03:00
08986e926c
necessary/notrack/ctcci: Move things so that patches need minimal
intervention with the latest changes to clear up space for us
2019-10-08 05:14:07 +03:00
5569efefa0
necessary: add script to get us some extra function space
also adjusting ctcci and patchport to account for this sort of versioned
scripts
2019-10-08 05:08:26 +03:00
9f5058ed0c
customtheme: Fix muted channel names being very hard to see 2019-10-08 02:37:34 +03:00
10ea5a53c5
9.6.8. 2019-10-08 02:27:20 +03:00
53cc185d94
slashcommands: add /ctc nodelete 2019-10-05 20:12:20 +03:00
36e82810c7
slashcommands: add /spoilerimg 2019-10-05 19:51:31 +03:00
45dc42dfee
branding: Fix build issues
This might break compat with Android 10, but until Apktool supports this
field, there's not much I can do. Relevant issue: https://github.com/iBotPeaches/Apktool/issues/2167
2019-10-05 16:44:02 +03:00
8d663055b7
9.6.7 2019-10-05 16:23:26 +03:00
a61bdd9b33
9.6.6 2019-10-05 16:07:30 +03:00
00507bd0e5
branding: fix on 9.6.5 2019-10-03 10:28:20 +03:00
f5bf44fa48
9.6.5 2019-10-03 08:52:14 +03:00
9743d0cfe4
customtheme: fix profile color 2019-10-01 23:40:54 +03:00
7f6097bd9d
customtheme: Fix splash 2019-10-01 23:30:50 +03:00
7a7055a66d
Fix noprofilestrip 2019-10-01 23:19:52 +03:00
98ea01add9
9.6.4 :) 2019-10-01 23:06:14 +03:00
607abc3436
9.6.3
9.6.4 is in works

also API 7 time!!
2019-10-01 23:01:01 +03:00
eb39c6f9c6
Revert "9.5.0"
Things are bork

This reverts commit b907e73caa.
2019-08-31 15:06:13 +03:00
b907e73caa
9.5.0 2019-08-31 14:42:27 +03:00
77e3b2f295
9.4.8 :) 2019-08-27 15:15:17 +03:00
a5fdea32fe
9.4.7 2019-08-24 12:28:21 +03:00
a468c009d7
9.4.6.
yee. haw.

god my smalitools addon is a lifesaver for notrack
2019-08-22 23:01:07 +03:00
1b2aa5f08a
9.4.5 :) 2019-08-22 15:06:29 +03:00
2b9884e2b9
9.4.3 :) 2019-08-20 10:32:35 +03:00
cfec47a7d8
9.4.2 2019-08-17 13:20:19 +03:00
68484e4399
9.4.0 + ave custom logo 2019-08-17 00:41:53 +03:00
3d9e789198
Fix experiments, notrack and litecord for 939
(also remove litecord for 938 as I broke it back then it seems, whoops!)
2019-08-17 00:15:04 +03:00
eef14a819d
Fancier splash 2019-08-17 00:07:56 +03:00
4f3ac9fe0b
Update splash as well 2019-08-17 00:04:30 +03:00
2b520c9d02
9.3.9 + New icon from dzuk! 2019-08-16 23:58:00 +03:00
b39f916337
Get rid of 9.1.2 patches which do not work 2019-08-12 21:15:05 +03:00
61492ec028
9.3.8 2019-08-12 21:10:22 +03:00
145d67aa8b
Some fixes for 9.1.2, still doesn't build 2019-07-11 15:03:23 +03:00
3217dfcd30
Add support for 9.1.2-SA 2019-07-11 14:54:34 +03:00
4efc74504f
branding: attempt to unfuck installs 2019-06-25 15:58:19 +03:00
42700f6859
9.1.0
untested
2019-06-25 15:11:01 +03:00
0a2eac1ea7
Change "Support" button to "CutTheCord Repo" 2019-06-22 18:30:54 +03:00
ec9b258604
Use zhu for splash 2019-06-22 18:06:51 +03:00
fcdb9e5352
branding-customicon: get rid of unneeded lines 2019-06-22 17:33:56 +03:00
92e0511451
Dynamic icon support 2019-06-22 17:29:53 +03:00
deeb9f1f3c
Add a README.md to patches, split main README to two 2019-06-21 13:11:28 +03:00
25c8a5b2d4
Account for names with spaces and custom icons supplied by ctcci 2019-06-21 11:29:30 +03:00
76d9de6b31
try out zhu logo 2019-06-21 02:18:44 +03:00
7852c1f6dd
drop bug 2019-06-16 23:18:55 +03:00
5c7aae1899
Fix icon setting issue
closes #25 :)
2019-06-16 23:18:01 +03:00
0beb66beaa
9.0.9 2019-06-08 01:35:44 +03:00
8f839d8659
fix slashcommands on 9.0.6 2019-06-02 13:56:58 +03:00
72e37695d0
9.0.6
MFW discord fixed their shit lawl

also no more center align!!!
2019-06-02 13:13:14 +03:00
50744bda5d
Revert "Revert "9.0.4""
This reverts commit ff09c1bcbd.
2019-06-02 13:12:05 +03:00
ff09c1bcbd
Revert "9.0.4"
more apktool bugs, I'm afraid.

This reverts commit 16708c42dc.
2019-05-29 01:42:47 +03:00
16708c42dc
9.0.4
that was fast
2019-05-29 01:20:13 +03:00
f9c80a395e
slashcommands-accountswitcher: allow using current token 2019-05-26 23:03:23 +03:00
08baa86ac6
slashcommands: Add known bug 2019-05-26 22:57:38 +03:00
704828f405
Slashcommands: add account switcher 2019-05-26 22:31:51 +03:00
7574ad66a4
Add tokenlogin patch 2019-05-26 20:08:03 +03:00
29d913aab2
slashcommands: Add /token command 2019-05-26 18:19:04 +03:00
bf789e07a3
slashcommands: make /ctc not send messages 2019-05-26 17:13:10 +03:00
ddcb459df4
Move notyping inside of slashcommands 2019-05-26 16:46:38 +03:00
442c1e3bb1
branding: replace "having issues with recaptcha?" link 2019-05-26 15:47:15 +03:00
b292c0aca5
Kill init of fabric.io 2019-05-25 13:50:02 +03:00
bcd2c620e9
Move nohiddenchannels into slashcommands 2019-05-25 05:43:28 +03:00
a7f878d29f
add nohiddenchannels patch 2019-05-25 03:37:10 +03:00
0ba2728465
9.0.3 2019-05-24 23:48:16 +03:00
a931183d5c
9.0.2
Also apparently pureevil-experiments patched smth incorrectly.
Font scaling should work properly now.
2019-05-23 08:46:44 +03:00
28b4df63af
9.0.1 2019-05-22 09:04:37 +03:00
8fc56562f3
Add morse 2019-05-21 19:36:08 +03:00
cdc9b03ebf
slashcommands: Add lenny, small, smaller, flip, clap, owo
Also I did minor optimizations on the performance of message speed by
ensuring that message starts with / before sending it through
slashCommands function

OwO is untested.
2019-05-21 17:53:03 +03:00
835d0dffe1
slashcommands: also work on edits 2019-05-20 02:07:27 +03:00
f2dfc15645
Slash commands!
Closes #11

Still needs a /help. Look into createLocalMessage IG.

Also, improve message interception so that we can potentially make stuff
like OTR in the future.

That sounds hot, eh?
2019-05-20 01:14:33 +03:00
cd2ead46a9
9.0.0
Imagine wanting to write a smali parser and patcher from scratch but all
patches succeed at porting.

Waiting for future updates IG.
2019-05-18 10:29:12 +03:00
92987f5017
8.9.9 2019-05-17 15:00:15 +03:00
8c8091ef61 Port patches to 8.9.8
I did all the work for this on a Nintendo Switch on L4T, owo
2019-05-15 01:19:19 +03:00
8acae96c08
Port patches to v8.9.7
First time patchport actually worked without requiring ANY manual
intervention, woo!
2019-05-14 07:17:51 +03:00
8af337cd47
Adjust colors on bettertm, update bettertmlight 2019-05-13 16:53:26 +03:00
cd6bac5184
Switch to a better bettertm, based on whitney for once 2019-05-13 16:42:00 +03:00
0cd459f9a8
blobs: Fix matching 2019-05-13 12:51:44 +03:00
88f97bc519
Allow backing up and debugging 2019-05-13 11:45:31 +03:00
62972eff16
Add blobmoji patches 2019-05-13 11:20:03 +03:00
c240dde4ef
Fix pureevil, include pureevil in experiments once more 2019-05-12 17:58:35 +03:00
2a711fd75e
fix customtheme 2019-05-12 17:29:49 +03:00
b49ecb19f8
what 2019-05-12 17:00:05 +03:00
039fd2296a
Fix 8.9.6 notrack 2019-05-12 16:53:35 +03:00
922daf2eef
Push 8.9.6 patches.
not sure if I did notrack right, might break!
2019-05-12 13:22:12 +03:00
4c75630e57
Add 8.8.8 support
This was really painless lol, just had 2 issues to fix on notrack
2019-05-01 09:17:47 +03:00
a55a06b611
Add customdefaultemoji patch 2019-04-26 07:37:40 +03:00
a048e02c66
Fix broken mention bg 2019-04-25 18:50:27 +03:00
1222374e67
Drop pirate flag emojo
And thus, we're ready to release v8.4.4
2019-04-25 15:08:05 +03:00
b94dd226bd
fix top bar 2019-04-25 14:57:36 +03:00
9f0a7b952d
more mutant 2019-04-25 14:30:35 +03:00
552d56ffcf
Drop another mutant 0.4.0 change 2019-04-25 14:28:07 +03:00
0d739717ac
Drop firefighter emojo from mutant 2019-04-25 14:12:47 +03:00
f35d9c9390
Add v884 support 2019-04-25 14:01:07 +03:00
decca48613
Fix pureevil for 876 2019-04-25 13:24:37 +03:00
042fe52427
Add v8.7.6 support and improve patchport 2019-04-25 13:12:30 +03:00
29ca523bfe
patchport: fix dir-level issues also fix auto-fixed patches 2019-03-08 16:17:28 +03:00
bec0c97fd1
Push v8.5.6 patches
+ no more necessary, yay~
2019-03-08 15:27:43 +03:00
1a4c42b810
Push v8.5.5 patches
Unofficial v8.5.5 changelog:
- More work on getting nitro purhcases on android
- Nitro is now internally called premium
2019-03-04 12:01:18 +03:00
4c3ff4ad3f
Update patches to v8.5.4
Fixed top bar.

Unofficial v8.5.4 changelog:
- Full implementation of news https://cdn.discordapp.com/attachments/448273769153298452/551511285582397471/Screenshot_20190303-000846.png
- Fun placeholders such as <string name="premium_subtitle_mobile">Something that would a mobile user want to care about buying Nitro chat perks with the bonus of some free pc games.</string>
2019-03-03 19:22:59 +03:00
b8a50ce2e0
fix offsets on branding 2019-03-01 13:17:23 +03:00
74cf1c0485
Add support for 8.5.3
- Support for new channel type (news) is added
- New color: primary_660, not used anywhere
- `switch_thumb_normal_material_light` is no longer top bar color, this will affect customtheme's top bar, I'll fix it when I find time.
- crashlytics was updated (ahhhhhhhhhhhh)
- fabric was updated (ahhhhhhhhhh)
- drainEventsQueue from analytics was rewritten (ahhhhhhhhhhhhhhhhh)
2019-03-01 13:11:24 +03:00
80753551c8
Fix offsets on branding 2019-02-27 10:32:53 +03:00
94259b4902
Update patches to v8.5.1 2019-02-27 10:31:20 +03:00
85aade1f0b
customversion: fix string 2019-02-24 00:09:36 +03:00
2e1662d7cd
Release v8.5.0 patches 2019-02-23 23:57:47 +03:00
cf81755d94
Push notrack for 8.4.8
Upstream changes:
- new fabric tracking: login
- superproperties were moved to a new file (smali/com/discord/utilities/analytics/AnalyticSuperProperties.smali)
- device_id is now not tracked and device_advertiser_id is used instead.
- various referrer-related fields are now tracked
2019-02-17 13:00:25 +03:00
f2bdc4ff67
Update all patches but notrack to 8.4.8
oh god oh fuck they moved around a LOT of tracking code this will be a
pain
2019-02-17 12:38:41 +03:00
2a1b88d203
Add v8.4.5 patches 2019-02-15 02:05:52 +03:00
06e4944d64
necessary: Document bugs 2019-02-12 12:33:43 +03:00
d9dcb8e522
bettertm/bettertmlight: Add a light variant of bettertm 2019-02-12 11:02:30 +03:00
5eb37f9be2
bettertm: Move to better icons 2019-02-08 13:06:25 +03:00
69eedc56ab
noprofilestrip: whoops, I accidentally left in litecord code 2019-02-08 12:08:36 +03:00
fa7a424746
noprofilestrip: change patch approach (untested)
Hopefully fixes #18
2019-02-08 11:42:53 +03:00
c5a4c4b05a
Port patches to v8.4.4g 2019-02-08 11:29:01 +03:00
e363d3a6f5
bettertm: make emojis bigger 2019-02-07 23:24:36 +03:00
2b323f3ed0
bettertm: Fix basic functionality
Closes #4
2019-02-07 23:13:08 +03:00
cac3ede38e
notrack: don't remove crashlytics from init (it's still stubbed) 2019-02-07 22:41:32 +03:00
5a7d18c5a6
branding: allow custom app names to be set directly through CI
CTC Litecord when?? CTC Litecord now!
2019-02-07 22:25:10 +03:00
ac00bfd725
branding: allow multiple instances of CTC and discord to be installed
side by side

Closes #16
2019-02-07 22:21:12 +03:00
5517d27956
Extend nozlib patches
This fixes litecord for good.
2019-02-07 21:56:00 +03:00
488644d72d
litecord: Fix #6 (nothing changed, it's a litecord bug I think) 2019-02-07 21:47:30 +03:00
6c509c6005
Port patches to v8.4.3
mfw yet another notrack rewrite
will have to find a way to get rid of those libraries completely
if I do that I'll probably call the patch "ownthelibs" or smth
2019-02-06 23:50:49 +03:00
b721c0cc27
bettertm: Explain what bettertm does 2019-02-06 02:11:40 +03:00
e3b8c41b09
bettertm: add patch, closes #4 2019-02-06 02:08:25 +03:00
cbc72c4155
Add customring and customfont instructions
Closes #9
Closes #10
2019-02-06 01:49:07 +03:00
0fc58a2ec4
noprofilestrip: add patch, closes #15 2019-02-06 00:51:14 +03:00
a2de115ba5
Add v8.4.2g patches
god bless patchport
2019-02-05 03:14:41 +03:00
9beeb28d81
Ported patches to v8.4.1 + release patchport 2019-02-04 23:49:46 +03:00
0771320e86
nospoiler: add patch 2019-02-04 16:27:05 +03:00
26d467da4a
Reverse muted channel fixes (it broke other things) 2019-02-03 10:46:56 +03:00
eed63746a9
Ported all patches to 8.3.9g 2019-02-03 09:56:40 +03:00
30a9116cc7
notyping: add patch 2019-01-31 18:01:34 +03:00
ca0927598b
customtheme: further muted channel fixes 2019-01-31 15:20:10 +03:00
dbd7b5f490
Fix coloring of muted channels 2019-01-31 14:52:16 +03:00
3f12f86cd9
branding: start custom version numbers from 1000 so that we won't have
issues

current issue:
- 8.3.5 is 83512
- 8.3.6 is 8361

that's not okay, and it's failing to distribute updates.
2019-01-31 11:45:29 +03:00
82a88a3da5
emojireplace: Make mutant replace script less verbose 2019-01-31 11:39:41 +03:00
4077ee0a27
notrack: Port to v8.3.6g
GAH this was a big one: https://elixi.re/i/d38ugq7u.png
2019-01-31 11:31:56 +03:00
e68b437a50
Extend README 2019-01-31 11:01:30 +03:00
83ec2f2fae
disable-mobileindicator: Port this patch too bc why not 2019-01-31 10:57:16 +03:00
56c611da65
nozlib, pureevil: Commit 8.3.6g patches stuff I forgot to commit 2019-01-31 10:55:51 +03:00
46dc40f3e5
Port rest of the 8.3.5g patches to 8.3.6g 2019-01-31 10:54:56 +03:00
ff452978ca
experiments: port to v8.3.6
I wanted to commit this individually because the change is interesting.
They moved isStaffOrTester from WidgetSettingsUserConnections$UserConnectionItem.smali to isStaff on StoreExperiments$ExperimentAndStaff.smali.

I think this change makes a lot of sense and clears up the mess in the code. Good on you, discord.
2019-01-31 10:48:14 +03:00
a833dbd2bb
brnading, compact, customtheme, customversion: ported to 8.3.6g 2019-01-31 10:44:04 +03:00
2875282507
Start work on v8.3.6g 2019-01-31 10:34:40 +03:00
77c353fa42
branding: Fix version codes (fuck apktool) 2019-01-28 22:19:15 +03:00
575d4037cf
squareavatars: add patch 2019-01-28 16:54:26 +03:00
7d47f603a0
compact, smalltime: Introduce patches 2019-01-28 15:51:30 +03:00
220d5ded1b
customtheme: make fixsplash script get the image path from args 2019-01-28 00:48:40 +03:00
60e4d5282b
branding: make addpatch script dynamically get branch names 2019-01-28 00:06:24 +03:00
ab1b95d8b2
noblocked: add patch 2019-01-27 00:17:55 +03:00
993ad39c2d
branding: have counters by branch 2019-01-25 16:23:07 +03:00
bbd4d43990
branding: bug fixes 2019-01-25 16:21:27 +03:00
e57d1ff8ae
branding: Move from timestamp to build counter 2019-01-25 16:19:05 +03:00
eb1f1ff8ac
branding: change app name 2019-01-25 15:48:05 +03:00
0bc36a0738
nozlib: add patch 2019-01-25 11:57:16 +03:00
aad4591711
notrack: Push some changes I forgot to push 2019-01-25 11:54:04 +03:00
e23fc1368c
Add 8.3.5 patches 2019-01-25 11:50:06 +03:00
82379ffc8c
Add support for 8.3.4g, ahh fuck Discord 2019-01-23 23:31:58 +03:00
2391c2851b
Attempt to fix logo on oreo and higher 2019-01-23 15:04:48 +03:00
593d1eb8e0
customtheme: note down restrictions of status bar replacement 2019-01-23 14:38:47 +03:00
f7fa62df2f
customcolor: Fix status bar color 2019-01-23 14:36:09 +03:00
904622913c
customtheme: Improved theming on various parts
Full list:
- editing message bar
- blocked message background
- mention backgrounds
2019-01-23 14:23:43 +03:00
5dab947b5c
customtheme: Fix splash 2019-01-23 13:43:27 +03:00
1e39dff17e
Add branding patch 2019-01-23 12:54:45 +03:00
4f94f822b1
Fix all 8.3.3 patches 2019-01-23 11:26:34 +03:00
f964048e25
Add necessary 833 patches 2019-01-23 11:07:11 +03:00
806171b188
Push untested 833 patches 2019-01-23 03:08:42 +03:00
8c2ba2b052
customversion: add mutant standard disclaimer 2019-01-23 02:44:18 +03:00
3f97a21677
customversion: make script less likely to error in systemd services 2019-01-23 02:13:22 +03:00
9fd72d479e
customversion: ditch microseconds 2019-01-23 01:29:16 +03:00
5d02aba5d4
customversion: Make customversion display more details 2019-01-23 01:27:53 +03:00
9d3f6b8215
customtheme: Change mention/channel color 2019-01-23 00:35:56 +03:00
523f3b08ac
whoops 2019-01-22 23:57:21 +03:00
5200378efa
Improve mutant readme 2019-01-22 23:56:10 +03:00
ccd84dde66
Push the new mutant code, now with a whole lot more diversity~ 2019-01-22 23:49:28 +03:00
520d3f2423
Renamed "theme" to "customtheme" 2019-01-21 12:27:25 +03:00
d046253155
notrack: Remove necessary
whoops
2019-01-20 23:32:47 +03:00
f806e2569e
notrack: fix 2019-01-20 23:29:35 +03:00
32e6ba4668
tiny fix 2019-01-20 23:10:25 +03:00