Commit graph

391 commits

Author SHA1 Message Date
TobiGr
30c9d97d1a Use Integer value directly for formatted string
a
2020-01-13 20:25:32 +01:00
Kamil Szczęk
4b8d5fbc26 Style corrected 2020-01-11 15:19:24 +01:00
Kamil Szczęk
0a95c7cec3 Add a snackbar to allow user to undo file deletion 2020-01-11 15:09:01 +01:00
Kamil Szczęk
ac10e09acb Reorder buttons in clear downloads dialog 2020-01-11 15:09:01 +01:00
Kamil Szczęk
9f05049e03 Use a dialog option instead of a checkbox 2020-01-11 15:09:01 +01:00
Kamil Szczęk
7bd3f1bec4 Add option to remove downloaded files when clearing finished downloads 2020-01-11 15:09:01 +01:00
Allan Nordhøy
953de0b921 Select your favorite
Co-Authored-By: Stypox <stypox@pm.me>
2020-01-08 18:22:17 +01:00
Allan Nordhøy
2cac84520b Spelling: Could not, PeerTube, HTTPS, URL 2020-01-08 17:51:35 +01:00
k1rakishou
aa10bbcede Add a setting for the lock screen thumbnail feature 2020-01-02 15:00:31 +01:00
yausername
e9196eb852 made instance list url non translatable 2019-12-31 20:10:51 +05:30
Xiang Rong Lin
f9f5f49b59 Rename adjustable seek duration setting
Change from "Seek duration" to "Fast-forward/-rewind seek duration"
2019-12-13 07:14:17 +01:00
Xiang Rong Lin
00737ab0f2 Add new preference for seek duration.
Add new ListPreference under settings/ video & audio for the duration of a seek.
With options for 5, 10, 15, 20, 25, 30 seconds.
2019-12-13 07:14:17 +01:00
TobiGr
443db9e024 Merge remote-tracking branch 'Weblate/dev' into dev 2019-12-12 20:58:22 +01:00
Peter Hindes
1663f18a34 Merge branch 'dev' into dev 2019-12-10 09:59:12 -07:00
Peter Hindes
c679b31736 Update app/src/main/res/values/strings.xml
Co-Authored-By: Stypox <stypox@pm.me>
2019-12-10 09:37:57 -07:00
yausername
12596ea62c more grammar fix 2019-12-10 12:36:56 +05:30
yausername
7547dd59b3 merged upstream/dev 2019-12-10 01:37:33 +05:30
Peter Hindes
7c53290c95 Merge branch 'dev' into dev 2019-12-09 09:13:18 -07:00
Peter Hindes
a17caf50e3 Merge branch 'dev' into dev 2019-12-06 08:57:43 -07:00
yausername
7f835029fc grammar fix 2019-12-05 05:11:05 +05:30
yausername
f290dcf123 use plurals 2019-12-03 02:08:59 +05:30
yausername
d41ae244c1 update extractor, kiosk names and icons 2019-12-03 01:50:23 +05:30
kapodamy
fc4a892f45 code cleanup
* migrate few annotations to androidx
* mission recovery: better error handling (except StreamExtractor.getErrorMessage() method always returns an error)
* post-processing: more detailed progress

[file specific changes]

DownloadMission.java
* remove redundant/boilerplate code (again)
* make few variables volatile
* better file "length" approximation
* use "done" variable to count the amount of bytes downloaded (simplify percent calc in UI code)

Postprocessing.java
* if case of error use "ERROR_POSTPROCESSING" instead of "ERROR_UNKNOWN_EXCEPTION"
* simplify source stream init

DownloadManager.java
* move all "service message sending" code to DownloadMission
* remove not implemented method "notifyUserPendingDownloads()" also his unused strings

DownloadManagerService.java
* use START_STICKY instead of START_NOT_STICKY
* simplify addMissionEventListener()/removeMissionEventListener() methods (always are called from the main thread)

Deleter.java
* better method definition

MissionAdapter.java
* better method definition
* code cleanup
* the UI is now refreshed every 750ms
* simplify download progress calculation
* indicates if the download is actually recovering
* smooth download speed measure
* show estimated remain time

MainFragment.java:
* check if viewPager is null (issued by "Apply changes" feature of Android Studio)
2019-11-26 10:46:31 -03:00
kapodamy
fc04ddb5b4 misc changes
* OggFromWebMWriter: rewrite (again), reduce iterations over the input. Works as-is (video streams are not supported)
* WebMReader: use int for SimpleBlock.dataSize instead of long
* Download Recovery: allow recovering uninitialized downloads
* check range-requests using HEAD method instead of GET
* DownloadRunnableFallback: add workaround for 32kB/s issue, unknown issue origin, wont fix
* reporting downloads errors now include the source url with the selected quality and format
2019-11-26 10:46:28 -03:00
kapodamy
2484698e8b long-term downloads resume
* recovery infrastructure
* bump serialVersionUID of DownloadMission
* misc cleanup in DownloadMission.java
* remove unused/redundant from strings.xml
2019-11-26 10:46:26 -03:00
yausername
491cc18bfd easily switch between multiple peertube instances 2019-11-24 21:08:06 +05:30
Hosted Weblate
b67333e737 Merge branch 'origin/dev' into Weblate. 2019-11-23 06:19:04 +01:00
yausername
512fca8897 validate peertube instance. changed peertube color 2019-11-23 00:31:35 +05:30
yausername
05bc51c70b merged upstream/dev 2019-11-22 22:41:59 +05:30
Mauricio Colli
532d2f305a Fix mess with tab handling and enable ignored tests again
- Fix typo in a string resource
- Reorder tabs so the default kiosk is on top of the others
2019-11-20 00:23:29 -03:00
yausername
2a843a16d7 merged upstream/dev 2019-11-20 03:48:56 +05:30
Hosted Weblate
2ba9f3e5ec Merge branch 'origin/dev' into Weblate. 2019-11-19 21:58:36 +01:00
Allan Nordhøy
de2dce9234 Translated using Weblate (English)
Currently translated at 100.0% (508 of 508 strings)
2019-11-19 21:58:34 +01:00
Tobias Groza
cf3f7cca62 Merge pull request #2799 from Ozyc/patch-1
Make reCAPTCHA string untranslatable
2019-11-19 21:16:25 +01:00
Mauricio Colli
ab1c2b00da Show parsed relative times instead of whatever the service gives us
Before, the direct value was given to the user, now it uses the parsed
date so we can match the device's language.

To get the relative time from the parsed dates, we use the PrettyTime
library.

Also introduces a debug option to check the service's original value.
2019-11-17 23:58:55 -03:00
Mauricio Colli
8df3186f83 Show proper text for live streams watching/listening count 2019-11-17 23:58:54 -03:00
Mauricio Colli
cb2f0625b1 Use new Localization and Downloader implementations from extractor 2019-11-17 23:58:52 -03:00
yausername
ca9dff049c merged upstream/dev 2019-11-16 04:37:14 +05:30
Ozyc
06ab36e764 Make reCAPTCHA string untranslatable
I updated reCaptchaActivity string and made it untranslatable, because it's causing "Failed check: Unchanged translation" on Weblate.
2019-11-11 15:24:06 +00:00
TobiGr
5a8714f8e4 Make "Default Kiosk" string translatable
Closes #2778
2019-11-04 11:21:41 +01:00
Allan Nordhøy
9632bd27de Translated using Weblate (English)
Currently translated at 99.8% (477 of 478 strings)
2019-10-28 16:31:48 +01:00
Peter Hindes
bec19abc0e Using Strings
still need to find out why its null on the library
2019-10-15 12:49:24 -06:00
Mauricio Colli
5e7ed39d9f Fix broken video count text translations
- Someone had the brilliant idea of removing the string arguments,
giving the the wrong example for other languages in the process.
2019-10-10 22:56:20 -03:00
Hosted Weblate
56eab5fde0 Merge branch 'origin/dev' into Weblate. 2019-10-02 11:56:21 +02:00
Hosted Weblate
8b05689653 Merge branch 'origin/dev' into Weblate. 2019-09-25 14:14:38 +02:00
Christian Schabesberger
a260180f2e Merge branch 'dev' into accessebility 2019-09-24 21:26:13 +02:00
Éfrit
3b61546d71 Revert "Translated using Weblate (English)"
This reverts commit 29b91e2b7a.
2019-09-23 10:30:08 +02:00
Christian Schabesberger
991d3bd763 change video preview text 2019-09-22 13:34:44 +02:00
Christian Schabesberger
3d02c2458b add content description for toggle service button 2019-09-22 11:59:50 +02:00
Hosted Weblate
2b3cad1291 Merge branch 'origin/dev' into Weblate. 2019-09-21 05:43:08 +02:00