Commit Graph

59 Commits

Author SHA1 Message Date
Viktor De Pasquale 332c1a6c59 Removed overcomplicated updates loading
The mechanism was replaced by loading updated directly by id to the initial list. There are two factors why yesterday-me was dumb:

1) By asynchronously loading update state, you have no control over it - hence no search
2) It's incredibly wasteful; running that hardcore search on every query? Not cool
...and from UX stand-point having updates inlined right under installed modules is by far better than nitpicking it from the list or in the search
2019-11-18 17:21:23 +01:00
Viktor De Pasquale 9d1d1710eb Added new search functionality to module screen 2019-11-14 18:56:03 +01:00
Viktor De Pasquale f83f92d3fa Updated modules screen so it displays all the content in one recyclerview
Added "endless" scrolling support
 - this is done in order to display everything very swiftly and load as user needs it
 - for the most part we'll download only ~10 items and load the rest as scroll progresses, this accomplishes the illusion that whole list is being populated
Added sections and updated repo view
2019-11-08 19:04:30 +01:00
topjohnwu a18c552ddf Guard env state behind cached objects 2019-10-22 15:37:55 -04:00
topjohnwu debd1d7d54 Update canary channel links 2019-09-24 03:09:02 -04:00
topjohnwu 84f0ff2fad Fix manager package name database management 2019-08-12 03:31:59 -07:00
topjohnwu 5fa452aa74 Multiple minor changes 2019-08-12 01:54:33 -07:00
topjohnwu a797d5d396 Update snet extension 2019-08-08 04:18:32 -07:00
Viktor De Pasquale 870efc49ea Fixed using mapping function incorrectly 2019-08-07 03:07:18 -07:00
topjohnwu 223913c30a Remove unnecessary App usage 2019-08-05 00:21:38 -07:00
topjohnwu 33b7ab593c Migrate PatchAPK to Kotlin 2019-08-04 13:00:27 -07:00
topjohnwu cb3f9b9740 More tweaking to Rx pipeline 2019-08-01 23:08:58 -07:00
topjohnwu b16f696b0e Cleanups 2019-07-28 03:47:07 -07:00
topjohnwu 44368383f4 Fix fetching repo ordering 2019-07-28 02:21:55 -07:00
topjohnwu d1ff7e0ffe Move extensions to its own package 2019-07-28 02:10:22 -07:00
topjohnwu 42e7db8d13 Modernize Repo class for Magisk modules
- Use Kotlin
- Use Room database
- Use retrofit for networking
- Use RxJava pipeline for repo updating
2019-07-28 01:54:34 -07:00
topjohnwu cdaff5b39c Update module download pipeline 2019-07-26 02:26:02 -07:00
topjohnwu 6fb032b3c2 Clean ups 2019-07-20 22:37:34 -07:00
Viktor De Pasquale 9542ca773f Added new CompoundDownloadService which will encapsulate all downloads and should manage post-download events as well
As of now it's still in a development stage and isn't connected to anything
2019-07-20 14:57:03 -07:00
Viktor De Pasquale 724893879f Added option to intercept progress while copying files 2019-07-20 14:57:03 -07:00
topjohnwu bf9ac8252b Cleanup UpdateInfo 2019-06-16 16:47:30 -07:00
topjohnwu 4a3f5dc619 Cleanups 2019-06-16 14:35:51 -07:00
Viktor De Pasquale ca156befbd Fixed mapping generic pairs to policy crashing when no policy is found
The policy (app) is now deleted when found invalid (uninstalled)
2019-06-16 16:50:08 -04:00
topjohnwu 7756e10779 Rewrite configs with Kotlin delagate properties 2019-06-10 04:37:56 -07:00
topjohnwu 0293eb5c51 Never refetch magisk version dynamically 2019-06-08 01:44:02 -07:00
topjohnwu 1ee75b6aa6 Download snet package without legacy impl 2019-06-08 01:39:22 -07:00
topjohnwu 4b30b224b5 Remove separate constant class 2019-06-08 00:41:03 -07:00
topjohnwu cec017b7bf More MagidkDB fixes 2019-06-07 01:05:54 -07:00
topjohnwu f417389a7a Fix magisk database code in app 2019-06-06 00:39:24 -07:00
topjohnwu 4122ebe18f Remove unused Room database code 2019-06-01 02:20:40 -07:00
topjohnwu 4a73d634e0 Tidy things up 2019-05-31 21:46:59 -07:00
Ian Macdonald ed43ec8ea2 Populate Config variables based on update channel parameters.
With thanks to @diareuse.
2019-05-31 20:48:21 -07:00
topjohnwu c0d1ce96d1 Cleanup 2019-05-30 01:05:48 -07:00
Viktor De Pasquale be1228c3b4 Reverted removing UpdateRepos temporarily 2019-05-29 18:40:16 +02:00
Viktor De Pasquale 6a243ec7bc Fixed inconsistent displaying of repos and improved their sorting 2019-05-25 18:09:45 +02:00
Viktor De Pasquale 8cd3b603df Fixed cached repos not being ordered by settings 2019-05-25 18:03:32 +02:00
Viktor De Pasquale 6e1aefe6d8 Added feature that prevents repositories from being downloaded every single time that user requests to show Module/Download fragment unless requested by user 2019-05-25 16:42:34 +02:00
Viktor De Pasquale f0a734fdab Fixed clearing cache crashing due to operations on main thread 2019-05-24 12:28:40 +02:00
Viktor De Pasquale 8515971ccf Fixed deleting "one-time" root requests whilst removing outdated 2019-05-23 19:18:16 +02:00
Viktor De Pasquale d86fb033ea Fixed conditions being inaccurately represented 2019-05-23 19:17:41 +02:00
Viktor De Pasquale df78fd2d41 Fixed setting custom channels and switching between official ones being broken 2019-05-23 18:11:23 +02:00
Viktor De Pasquale 0119ebddbe Added back clearing repository cache 2019-05-23 15:28:05 +02:00
Viktor De Pasquale 0850401dc4 Fixed crash where new application asks for root access 2019-05-13 15:56:27 +02:00
Viktor De Pasquale 92789c3113 Added caching repositories to device 2019-05-12 20:21:55 +02:00
Viktor De Pasquale c1c677e161 Removed old database helper 2019-05-12 19:45:07 +02:00
Viktor De Pasquale 2fe917ff82 Fixed updating values with sql 2019-05-12 19:42:05 +02:00
Viktor De Pasquale 125ae0a173 Fixed conditions in sql queries 2019-05-12 18:34:28 +02:00
Viktor De Pasquale c275326d59 Removed direct static usages of database from app 2019-05-12 16:56:56 +02:00
Viktor De Pasquale d4561507b8 Raised deprecation level on old database 2019-05-12 14:37:24 +02:00
Viktor De Pasquale 2624706c69 Added missing repositories 2019-05-10 19:13:15 +02:00