46 Commits

Author SHA1 Message Date
70b075a090 Lint all modules (#8371)
### Description

Run Lint check on all modules, not just on app, and fix the violations

### Checklist
<!-- 
To help us keep the issue tracker clean and work as efficient as
possible,
  please make sure that you have done all of the following.
You can tick the boxes below by placing an x inside the brackets like
this: [x]
-->
- [x] I have read the contribution guidelines:
https://github.com/AntennaPod/AntennaPod/blob/develop/CONTRIBUTING.md#submit-a-pull-request
- [x] I have performed a self-review of my code, going through my
changes line by line and carefully considering why this line change is
necessary
- [x] I have run the automated code checks using `./gradlew checkstyle
spotbugsPlayDebug spotbugsDebug :app:lintPlayDebug`
- [x] My code follows the style guidelines of the AntennaPod project:
https://antennapod.org/contribute/develop/app/code-style
- [x] I have mentioned the corresponding issue and the relevant keyword
(e.g., "Closes: #xy") in the description (see
https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue)
- [x] If it is a core feature, I have added automated tests
2026-03-28 20:48:25 +01:00
c51a0710a8 Move Statistics screen from Subscriptions menu to navigation drawer (#8313)
### Description

Make the Statistics screen a top-level navigation destination in the
drawer and bottom navigation, instead of being hidden behind the
Subscriptions overflow menu. This makes it easier to discover and
reflects that statistics aren't just about subscriptions.

Fixes #8310 

### Checklist
<!-- 
To help us keep the issue tracker clean and work as efficient as
possible,
  please make sure that you have done all of the following.
You can tick the boxes below by placing an x inside the brackets like
this: [x]
-->
- [x] I have read the contribution guidelines:
https://github.com/AntennaPod/AntennaPod/blob/develop/CONTRIBUTING.md#submit-a-pull-request
- [x] I have performed a self-review of my code, going through my
changes line by line and carefully considering why this line change is
necessary
- [x] I have run the automated code checks using `./gradlew checkstyle
spotbugsPlayDebug spotbugsDebug :app:lintPlayDebug`
- [x] My code follows the style guidelines of the AntennaPod project:
https://antennapod.org/contribute/develop/app/code-style
- [x] I have mentioned the corresponding issue and the relevant keyword
(e.g., "Closes: #xy") in the description (see
https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue)
- [x] If it is a core feature, I have added automated tests
2026-02-26 20:24:57 +01:00
c0100dff52 Fix feed statistics dialog: align totals with their corresponding values (#8085) 2025-11-09 16:11:38 +01:00
c8cd0de157 Handle release stats for multi-per-day podcasts (#7755) 2025-08-20 20:23:55 +02:00
e539479f2c Upgrade dependencies (#7936) 2025-08-18 20:24:58 +02:00
d95e03b51b Fix back stack being cleared after searching (#7757) 2025-04-13 22:20:42 +02:00
24f09aa7ce Add menu on statistics screen to bring back Echo (#7555) 2024-12-15 11:45:28 +01:00
89a3cc8f08 Support plurals for strings reported on Weblate (#7521) 2024-11-26 23:16:47 +01:00
a0d9f2aa7e Make it easier to understand years statistics diagram when there are few months (#7454) 2024-11-01 11:57:17 +01:00
a671be2d79 Show the number of downloaded episodes in stats screen (#7435) 2024-10-04 21:15:03 +02:00
0398912801 Do not show estimated episode release for local folder (#7422) 2024-09-23 22:14:46 +02:00
dafe821775 Modernize feed details design (#7402) 2024-09-15 10:26:13 +02:00
f3bca9d9e4 Add lazy loading to feed item list (#7091) 2024-04-13 19:18:13 +02:00
e578f4ca93 CI tweaks (#7069)
- Run Checkstyle with gradle to make it easier for users
  - No longer needs different configuration for new code
  - Exclude current violations
  - Fix some violations that somehow couldn't be specified in the exclusion file
- Print SpotBugs/Lint/Checkstly violations in GitHub format
  - Then the CI run gets annotated on the web UI
2024-04-07 23:28:14 +02:00
b6a4049ff4 Spotbugs cleanup (#6968)
Remove unused SpotBugs rules.
Fix URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD, ICAST_INTEGER_MULTIPLY_CAST_TO_LONG, NP_METHOD_PARAMETER_TIGHTENS_ANNOTATION, OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE
2024-04-05 19:28:36 +02:00
92ab575b15 Delete core module (#7060) 2024-04-05 19:20:27 +02:00
edb440a5a9 Restructure related UI classes together (#7044) 2024-03-31 18:40:15 +02:00
6f3a9b1676 Create module for sync service and move DBWriter to database module (#7040) 2024-03-29 17:45:14 +01:00
13a985ca1e Restructure Echo to be more flexible (#7035)
Each screen is its own file, which makes it easier to add interactive elements.
2024-03-29 08:55:13 +01:00
69b24699a3 Move DBReader to :storage:database (#7027) 2024-03-25 21:45:43 +01:00
0cbd97b5cb Move theme to :ui:common module (#6997)
This enables creating Activities outside the app and core modules
2024-03-17 18:43:55 +01:00
393a8cebd3 Remove last few usages of Iconify (#6977) 2024-03-10 08:02:34 +01:00
c2ccc28b95 Update SpotBugs 2024-03-06 02:52:14 -05:00
82c93bf7ee Guess next episode release date (#6925) 2024-02-25 14:01:03 +01:00
c7c5ab567b Use proper plurals when showing number of episodes (#6922) 2024-02-16 23:50:12 +01:00
b2ea588b54 Use localized date format (#6843) 2024-01-02 19:21:07 +01:00
e9d190da1b Bump AGP and Gradle (#6489) 2023-10-17 20:52:21 +02:00
835f007b67 Make statistics filter start at 00:00 (#6371) 2023-03-11 17:44:01 +01:00
d61745be86 Check Lint recursively from the :app module
instead of checking every module individually. This avoids having to
re-state all disabled Lint checks in all parent modules.
2022-11-06 11:55:23 +01:00
c1fbb53805 Move Glide to its own module 2022-11-03 22:46:56 +01:00
6921d7162e Apply default RequestOptions globally instead of locally 2022-11-01 12:47:52 +01:00
cbfa0181f4 Migrate dialogs to Material3 2022-09-18 19:12:38 +02:00
ac8114342c Migrate Toolbars to Material3 2022-09-18 18:57:43 +02:00
28a397c897 Make statistics loading more efficient 2022-08-26 20:26:28 +02:00
87d0055cf7 Show details dialog on download stats page as well 2022-07-30 16:53:22 +02:00
1054e13221 Merge branch 'master' into develop 2022-06-30 11:11:35 +02:00
687ed5f2ff Open podcast from statistics (#5898) 2022-05-24 19:40:40 +02:00
33fb5e1f14 Merge pull request #5894 from ByteHamster/tiny-fixes
Tiny fixes
2022-05-15 21:53:47 +02:00
93f88650ad Actually filter by last year (eg Jan-Dec) 2022-05-15 20:48:17 +02:00
28f2706f32 Show spinner while loading statistics 2022-05-15 09:24:03 +02:00
3b47deb705 Make yearly statistics a bar chart instead (#5759) 2022-03-15 20:52:15 +01:00
5fee865ed4 Filter 'today' does not make sense for 'from' 2022-03-05 11:00:49 +01:00
fc3807aaf5 Use past year for statistics filter 2022-03-05 10:58:20 +01:00
f0aec13ea3 Make 'to' filter of statistics inclusive 2022-03-05 10:53:13 +01:00
32770fe817 Refresh timeline when resetting statistics 2022-03-05 10:43:31 +01:00
7451da1121 Move statistics screens to new module 2022-02-26 19:44:17 +01:00