Commit Graph

637 Commits

Author SHA1 Message Date
Yaron Shahrabani a2cd4ad008 Updated Hebrew translation (#392)
I'm actually using Transifex for that:
https://www.transifex.com/yaron/kore/dashboard

If you don't like the fact it's not open source we can try and ask Weblate to host us.
2017-05-30 20:22:07 +01:00
KowalskiOmniROM 15d08c2226 Update French strings.xml (#390) 2017-05-30 11:37:23 +01:00
Ahmed I. Khalil 97b10f2b32 Fix ClassCastException when Favourites returned are empty. (#386) 2017-05-10 09:52:55 +01:00
Ahmed I. Khalil b6822fd0ad Support getting favourites in Kore (#81) (#384)
* Support getting favourites in Kore (#81)
2017-05-09 18:35:21 +01:00
Sebastian b42f6f8119 File view fixes (#379)
* Sort file lists by path and show filename/foldername in details
* rewrite diplay of file lists using java.io.File for platform independence. It also makes the code clearer by avoiding string acrobatics
* fix enqueue order of action_play_from_this_item
* remove java.io.File dependency again
instead add method getFilenameFromPath
* move playMediaFile to end of block
2017-05-03 09:28:12 +01:00
Martijn Brekhof 1cb77876be Implemented testing actionbar state (#382)
* Added JSON datafiles for TV shows and music videos
   * Implemented instrumentations tests for MoviesActivity, MusicActivity,
     TVShowActivity, and AddonsActivity.
   * Moved RestoreSearchQueryViewPagerTest to music package as it uses
     the MusicActivity
   * Moved RestoreSearchQueryListFragmentTest to movies packages as it
     uses the MoviesActivity
   * Added scripts to get JSON data for music videos, addons, and TV shows
   * Added sequence diagram for BaseMediaActivity to clarify new setup
   * Refactored BaseMediaActivity to comply with diagram
   * Refactored SyncMusicVideos and SyncTVShows so we can use the same code
     for adding test data as we use for adding real data.
   * Removed unused StringBuffer and synchronize block in MockTcpServer
2017-04-29 16:08:15 +01:00
Wikinaut 46bb4a4bfc Fix for #380 (#381) 2017-04-29 15:15:24 +01:00
Martijn Brekhof 6afaa60d74 Introduces BaseMediaActivity (#374)
* BaseMediaActivity enforces a common layout which allows us to more
     easily add new common UI elements
   * All activities that allow browsing media should extend BaseMediaActivity
     Currently CastActivity is the only exception.
2017-04-21 18:39:55 +01:00
Synced Synapse db7d689c3a Fix default color 2017-04-02 18:46:36 +01:00
Adrian fe3c8a1b50 Fix typo (Itent -> Intent) (#377) 2017-04-02 18:42:59 +01:00
darkz 6116be2d12 fix zhcn translate mistake (#376) 2017-03-29 14:23:34 +01:00
Synced Synapse 775944ea05 Use the same default primary colors as estuary 2017-03-24 19:12:37 +00:00
Synced Synapse 11f453c22f Bring the notification service to the foreground when a notification is shown, to avoid having it killed, which happens if it stays in the background 2017-03-24 18:18:10 +00:00
Martijn Brekhof a1cdedb93f Implemented a TCP server for unit testing (#373)
This allows us to test activities and fragments that require JSON RPC calls.
The ApplicationTest for JSON method and notification calls is mainly added
as example and for testing the MockTcpServer and friends.
2017-03-21 09:21:44 +00:00
Martijn Brekhof fcd1730784 Fixes NPE in ConnectionObserversManagerService.onDestroy (#372) 2017-03-15 18:49:38 +00:00
Martijn Brekhof 35724bb8be Fixes layout inflate exception due to missing width attribute (#371) 2017-03-15 14:04:34 +00:00
Artem Moskalchuk 8d983d605c update Ukrainian translation (#368) 2017-03-09 19:45:39 +00:00
Synced Synapse b713d916e3 Make remote bottom bar configurable in landscape also. 2017-03-06 20:07:21 +00:00
tomerf b80e3e0e7a Make remote bottom bar configurable (#355)
* Make remote bottom bar configurable
* Added new translations
* Added icons
* Moved preference to remote section
2017-03-06 19:58:31 +00:00
Synced Synapse d1b1827a5f Merge pull request #332 from poisdeux/refactor/detailsfragments
Refactor details fragments
2017-03-06 19:39:17 +00:00
tomerf dba7504e76 Unified translations in settings page (#365) 2017-03-03 18:52:24 +00:00
Martijn Brekhof 412931b8db Refactored AbstractDetailsFragment
This introduces the MVC model to details fragments. It moves as much
view and control code out of the concrete fragments into the abstract
classes.

   * Added UML class and sequence diagrams under doc/diagrams to clarify
     the new setup

   * Introduces new abstract classes
      * AbstractFragment class to hold the DataHolder
      * AbstractInfoFragment class to display media information
      * AbstractAddtionalInfoFragment class to allow *InfoFragments
        to add additional UI elements and propagate refresh requests.
        See for an example TVShowInfoFragment which adds
        TVShowProgressFragment to display next episodes and season
        progression.

   * Introduces new RefreshItem class to encapsulate all refresh
     functionality from AbstractDetailsFragment

   * Introduces new SharedElementTransition utility class to encapsulate
     all shared element transition code

   * Introduces new CastFragment class to encapsulate all code for
     displaying casts reducing code duplication

   * Introduces DataHolder class to replace passing the ViewHolder from
     the *ListFragment to the *DetailsFragment or *InfoFragment

   * Refactored AbstractDetailsFragment into two classes:

     o AbstractDetailsFragment: for fragments requiring a tab bar
     o AbstractInfoFragment:    for fragments showing media information

     We used to use <NAME>DetailsFragments for both fragments that show
     generic
     info about some media item and fragments that hold all details for
     some media item.
     For example, artist details showed artist info and used tabs to
     show artist albums and songs as well. Now Details fragments are
     used to show all details, Info fragments only show media item
     information like description, title, rating, etc.

   * Moved swiperefreshlayout code from AbstractCursorListFragment to
     AbstractListFragment
2017-03-02 11:55:19 +01:00
Martijn Brekhof d3a68b73c9 Fixed playing, queueing, downloading individual songs (#363) 2017-02-24 18:58:42 +00:00
Artem Moskalchuk 2365a14585 Move hard-coded strings (group titles Remote and Application) to strings.xml (#361)
* Move hard-coded strings (group titles Remote and Application) to strings.xml

* Add missing strings to Ukrainian localization

* Update strings.xml

* Update strings.xml
2017-02-22 19:40:53 +00:00
Yaron Shahrabani aa3308668c Fixed translation of "Down" to down (was up) (#360) 2017-02-21 19:49:56 +00:00
primaeval 668feb1355 remove [] formatting (#353) 2017-02-20 19:05:49 +00:00
Yaron Shahrabani 58e205272f Adding the Hebrew translation (#352)
* Adding the Hebrew translation
Managed under https://www.transifex.com/yaron/kore/Remote/, more languages are welcome.
2017-02-20 19:05:28 +00:00
Artem Moskalchuk 6f82cff588 Update ukrainian translation (#359)
* fixed typo

* Add missing string "sort_by_last_played"

* Update strings.xml
2017-02-20 19:01:54 +00:00
naofum de9b97836d japanese translation (#358) 2017-02-20 19:01:29 +00:00
Pavel Remygailo 83e96653fe Ukrainian translation fixes (#350)
* fixed few typos in ukrainian translation
* "Про додаток" -> "Про застосунок"
Додаток -- add-in
Застосунок, прикладна программа -- application
2017-02-13 19:48:00 +00:00
KowalskiOmniROM 770aa40df1 Update strings.xml (#349) 2017-02-13 19:46:29 +00:00
mueller-ma a8bfa0ffc4 updated german translation (#348) 2017-02-13 19:45:39 +00:00
mueller-ma e8209a92aa Added fdroid link (#347)
IMO fdroid should be prefered over play store, because fdroid is FOSS
2017-02-13 19:45:24 +00:00
Zapata11 b9b2a4d30c Update lithuanian translation (#346) 2017-02-13 19:44:06 +00:00
Synced Synapse 13abb4e9ea Bump version for release
Update release notes
2017-02-01 18:53:50 +00:00
Joel Hedlund 4c82094601 Add www.svtplay.se host to "Play on Kodi" intent filter. (#345) 2017-02-01 18:29:43 +00:00
Synced Synapse e72b7f4b13 Update Portuguese translation 2017-01-30 19:39:54 +00:00
Joel Hedlund 7a2ed7704a Add support for sharing SVTplay urls to "Play on Kodi". (#343)
* Add support for sharing SVTplay urls to "Play on Kodi".
SVTplay is a free streaming service provided by the Swedish national television SVT.
This feature requires the svtplay video plugin on Kodi.
* Fix SVTplay share always playing first episode of series.
2017-01-30 19:06:14 +00:00
tomerf d5f8ee4d49 Added option to sort by last played (#340) 2017-01-30 19:03:16 +00:00
Synced Synapse c9147231ab Fix for empty titles on playlist 2017-01-27 15:33:16 +00:00
Artem Moskalchuk a5bbf39ef8 Ukrainian localization (#342)
* Create strings.xml

* Initial Ukrainian translation

* Arrays xml ukrainian translation

* Update strings.xml
2017-01-27 15:25:17 +00:00
Aneesh Agrawal 66c145d778 Enable manual configuration of https (#338)
* Allow specifying HTTPS Hosts manually
This is not exposed in the UI, but on the manual host configuration screen, if the address starts with a  "http://" or "https://" this will be stripped and the `isHttps` flag set appropriately.

Additionally, the port can be configured as part of the address as well.
Any port specified as part of the address takes precedence over the explicit HTTP port box, to allow easy copy-pasting of an entire URL for a host.

This enables using Kore with Kodi instances available though HTTPS (e.g. via a reverse proxy).
2017-01-27 15:17:39 +00:00
KowalskiOmniROM 42aeccfab3 Update French translation (#337) 2017-01-17 19:45:58 +00:00
Martijn Brekhof 872c329f8d Fixed the return transition for the shared element (#336)
Support library 25.1.0 contains a bug that causes the shared element return transition
to fail.
2017-01-06 11:45:40 +00:00
Mon Zafra 6e347b6b36 Materialized dialogs and preferences (#330)
* Changed platform AlertDialogs and preference.* to support lib counterparts
- added dependencies: support/preference-v7 for PreferenceFragmentCompat
  and Preference subclasses, support/preference-v14 for the
  MultiSelectListPreference
- simplified some AlertDialog.Builder calls and added non-null annotations
  to DialogFragment#onCreateDialog(Bundle) overrides to shut the IDE up
- UIUtils: changed static member avatarColorsIdx to local var because it's
  only used in one place and the value isn't cached
- layout/dialog_send_text: removed view vertical margins as they take
  way too much space for nothing.
- strings: shortened english preference titles
- themes: added PrefTheme and changed preference title font size to medium
  from large
- preferences: changed CheckBoxPreference to SwitchPreferenceCompat. these
  don't have the same issue described in #233 (tested in kitkat).

* Changed platform PreferenceManager in RemoteActivity to support pref

* Fixed M permissions

* Split prefs into 2 groups as per material design guidelines

* Changed prefs theme to v14.material

* Moved container padding to individual prefs; removed pref-v7 dependency
- this makes the item dividers touch the screen edges which i think looks
  better
- don't need to require preference-v7 because preference-v14 already
  does

* Moved PrefTheme attributes *{Start,End} to v17 override

* Fixed crash caused by rotating twice while a dialog is active

* Changed wording as suggested
2017-01-04 08:37:13 +00:00
Martijn Brekhof 07be6da2ad Fixed lint errors regarding calling new methods on older versions (#334) 2017-01-03 16:14:39 +00:00
Martijn Brekhof 3742263ec7 Fixed issue with sharing code between local and instrumentation tests (#335) 2017-01-03 16:14:22 +00:00
Mon Zafra dc5a9f1ed3 Fixed some problems in the remote fragment layout when in landscape mode (#333)
- added missing tint attribs in the vertical navigation icons
- parameterized pad buttons container dimensions like in portrait mode
- put art and media info/controls side-by-side like in portrait mode
2017-01-03 14:27:05 +00:00
Synced Synapse 331866043a Fix issues with svg drawables 2016-12-29 18:59:36 +00:00
Synced Synapse e02c6c4caf Fix German translation... 2016-12-29 18:53:09 +00:00