Commit Graph

42 Commits

Author SHA1 Message Date
Torsten Grote
d774255598 [app] basic targetSdk 34 2024-03-12 18:34:56 +00:00
Conny Duck
13af087715 add monochrome icon for basic flavor 2024-01-03 17:30:27 +01:00
Torsten Grote
c8482ca2dd [app] unify preferences.xml from build flavors
previously basic and main source set had a different preferences.xml which we needed to keep in sync manually. When we forgot to do this, this caused crash bugs. Hence, this commit unifies both files into one and uses a boolean resource to hide full preferences in basic flavor.
2023-11-28 15:39:01 +00:00
Hans-Christoph Steiner
878da915e1 "Expert mode" category in Settings to show which settings belong
Before !1016, Expert Mode settings had a checkbox.  Now they have the same
switch.  So this adds a category header to highlight which settings belong
to Expert Mode.
2023-11-28 12:40:07 +00:00
Michael Pöhn
a8bfad0bd0 🪲 fix settings crash in basic build flavor
Some changes to preferences.xml in the latest alpha weren't copied over
to the basic build flavor version of that file. Hence the some code in
the basic build flavor couldn't bind to the messing preferences Views
and crashed instead.
2023-11-23 21:57:15 +01:00
proletarius101
0c789be476 Migrate CheckBoxPreference to SwitchPreferenceCompat 2023-11-23 13:53:51 +00:00
Torsten Grote
bd8db11990 [app] Move old repo related classes into new package 2023-10-20 09:26:16 -03:00
Hans-Christoph Steiner
c289351910 Expert Setting to disable the SessionInstaller
In case of bugs, let the user disable this while it is still beta.
2023-10-10 15:06:23 +00:00
Torsten Grote
2048d6f478 Add code style to repo and fix it 2023-06-09 17:24:58 +00:00
Torsten Grote
c3ba9d33a4 [app] Fix nsfw anti-feature 2023-06-07 13:52:21 +00:00
Torsten Grote
415fd0c59d Revert "[app] Disable auto-download of APKs because basic can't do it yet due to recent targetSdk"
This reverts commit f8a0c1c448.
2023-06-01 13:57:19 -03:00
Torsten Grote
cd5023fbb5 [app] Split out strings for full/basic flavor, but keeping them translatable in main resource 2023-05-29 12:00:50 -03:00
Torsten Grote
7f18a13ad4 [app] Bring pure black OLED setting to basic flavor 2023-05-29 12:00:49 -03:00
Torsten Grote
ede9e41673 [app] Disable auto-download of APKs because basic can't do it yet due to recent targetSdk
(starting services from the background isn't allowed anymore)
2023-05-29 12:00:49 -03:00
Conny Duck
8e694090ff change app icon of basic flavor 2023-05-28 14:05:23 +00:00
Raphael Michel
362e9f7a06 fix navigation in basic build (fix #2261) 2022-01-19 16:13:53 +01:00
Sylvia van Os
ec0e3d2e3b Use F-Droid Debug app label for debug builds 2021-10-14 12:31:05 +00:00
Sylvia van Os
5f922444ae Allow choosing which antifeatures to show 2021-10-14 09:25:25 +00:00
proletarius101
1ddc36e597 Set the default theme variant to follow system 2021-08-26 11:28:23 +00:00
proletarius101
755588202f feat: rebase app themes to material themes 2021-04-12 16:36:17 +00:00
Hans-Christoph Steiner
a207798f5c add expert preference to enable Popularity Contest
closes #396
2021-03-08 15:30:30 +00:00
Hans-Christoph Steiner
4caab6a135 rename WhatsNew* to Latest* to match source string name 2021-02-08 13:16:04 +01:00
Dominik Schürmann
78e81fb781 Use androidx.preference artifact
- use PreferenceFragmentCompat
- this requires androidx Fragments
- explicit declaration of androidx widgets in preferences.xml
  no longer required
2020-07-14 14:10:21 +02:00
Marcus Hoffmann
18592150c1 perform androidX migration through android studio
Project compiles and works fine after this.
2020-07-14 14:10:21 +02:00
Hans-Christoph Steiner
cc9796127d run new zopflipng compression settings from !844 2020-01-02 22:38:54 +01:00
Hans-Christoph Steiner
23fc17ba5f purge confusing, unused duplicate string/icon assignment in bottom nav
fdroid/fdroidclient#1785
2019-05-24 15:47:48 +02:00
Hans-Christoph Steiner
c5a6445239 fix bottom bar loading the wrong "Updates" string
closes #1785
2019-05-20 14:14:29 +02:00
Hans-Christoph Steiner
e3cfe3690d set "Automatically download updates" to default true
But keep "Automatically install updates" default false for devices with
Privileged Extension.
2019-03-26 16:19:07 +01:00
Hans-Christoph Steiner
0d1a53863e ./tools/png-pre-compress to strip unneeded stuff 2018-08-07 23:33:33 +02:00
Hans-Christoph Steiner
8ad951317a set basic flavor app name to "F-Droid Basic" 2018-07-31 16:20:31 +02:00
Hans-Christoph Steiner
cdf419d1fe set Basic to use auto-download by default
This will give us a nice testing ground for how this will work for the main
build flavor.

fdroid/fdroidclient#932
2018-07-31 16:20:07 +02:00
Hans-Christoph Steiner
49e1e0bf17 add separate, rough icon for F-Droid Basic 2018-07-31 16:09:45 +02:00
Hans-Christoph Steiner
af7b94ff4c add Latest view to basic flavor
This is a quick hack to reuse the Latest view with a slightly simpler
layout.  It makes the "basic" flavor fully functional as an fdroid client.
The goal here is just to have something simpler with as little new code as
possible.  It is essential that the whitelabeling and "Light" aka "basic"
flavor does not increase the maintenance load.

closes fdroid/fdroidclient#48
fdroid/fdroidclient!692
fdroid/fdroidclient!695
2018-07-31 15:06:09 +02:00
Hans-Christoph Steiner
8f393d9f43 hide "Include touchscreen apps" pref on devices with touchscreen
closes fdroid/fdroidclient#1438
2018-07-31 12:19:07 +02:00
Hans-Christoph Steiner
90acd75b90 purge broken, semi-used root filtering preference
RequiresRoot should become an Anti-Feature or <uses-feature> or
something like that. Having it a one-off makes it too brittle

fdroid/fdroidclient#928
2018-07-30 18:03:12 +02:00
Hans-Christoph Steiner
ab767ce621 purge deprecated, broken ExtensionInstaller, only works < android-20
This code is unmaintained, semi-broken, and only works on old Android
versions.  Time to go!

closes #982
2018-07-20 14:18:57 +02:00
Hans-Christoph Steiner
7043627a3a basic Install History viewer, available only when logging is enabled
This provides a super simple way to view the install history directly in
F-Droid.
2018-06-27 20:45:27 +02:00
Hans-Christoph Steiner
460720c7f3 allow user to disable ACRA entirely with a preference
ACRA is sometimes problematic or annoying.  Also, whitelabel versions might
want to disable ACRA.  The setting the preference defaultValue is an easy
way to do that.

refs #1483
2018-06-27 20:45:27 +02:00
Hans-Christoph Steiner
b1c3d64748 add expert option to send debug version/UUID on each HTTP download
When debugging issues, tracking the client can be quite useful.  This makes
an "Expert" preference that adds the app version and a randomly generated,
stored UUID to the query string each time it downloads an index or an app
package.

This is also useful in whitelabeling, for use cases where there needs to be
some kind of identifier to make it work.
2018-06-27 20:45:27 +02:00
Hans-Christoph Steiner
d8d043125b add expert preference to disable all notifications
This preference is meant for whitelabel builds that are meant to be
entirely controlled by the server, without user interaction, e.g.
"appliances".  Some users have asked for such a thing, so it makes sense to
have it available as an expert preference.  In general, we want to ensure
that installs/updates always show a notification so that the user is aware
of what is being installed on their computers.  That is the same policy as
other app stores like Google Play, etc.
2018-06-25 21:22:07 +02:00
Hans-Christoph Steiner
5ffec23b2f set default values of preferences only in preferences.xml
This removes a layer of redundancy where there were defaults set in the
Preferences class, as well as in preferences.xml.  This makes it possible
for whitelabel versions to change the default values of the preferences by
changing it only in preferences.xml.
2018-06-18 16:46:26 +02:00
Hans-Christoph Steiner
c87f6a64f9 get "basic" flavor building and running 2018-06-18 16:46:26 +02:00