Commit graph

324 commits

Author SHA1 Message Date
41ef69968d
experiments: fix a crash on 1006 2019-12-13 13:05:35 +03:00
458d5f4225
Remove requestLegacyExternalStorage to make builds run 2019-12-13 12:52:29 +03:00
91b6f28d2d
oh come on 2019-12-13 12:43:59 +03:00
e46d01f9f3
please build 2019-12-13 12:42:06 +03:00
1f69ccf301
Add a post-script to notrack and make pre/post scripts automatically get
ported
2019-12-13 12:38:55 +03:00
51f1e9079b
10.0.6
smalltime is gone.
2019-12-13 12:26:27 +03:00
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