1
0
Fork 0
mirror of https://github.com/HenkKalkwater/harbour-sailfin.git synced 2024-05-21 05:02:41 +00:00
Commit graph

10 commits

Author SHA1 Message Date
Chris Josten 1e80ceb697 Deserialized a list! Restructured project!
I finally got deserializing lists working. Exposing them to QML was not
a trivial task either. Note that I didn't do it the clean way. Nested
lists are not supported. But it works!

Because I got so frustarted at one point trying to implement things the
right way, I restructured the project to seperate the Sailfish code from
the Qt code and created a new, empty desktop project. The Qt code has
been transformed into a happy little library, to which the Sailfish OS
application links.

Note that QMake doesn't seem to strip the library for some reason.
2020-10-08 03:00:08 +02:00
Chris Josten 6429ee5332 Prevent device from sleeping while media is playing
I was testing the entire time on net power, so I forgot that the device
goes to sleep after a while.
2020-09-27 20:52:13 +02:00
Chris Josten 9b16d91b3e Added license headers
And a translation file I forgot to commit previous commit
2020-09-27 20:38:33 +02:00
Chris Josten 5d395ad7b6 Implemented collections + misc UI improvements
* There is a basic collection page, allowing the user to browse through
  collections. It has a sort function, that sort of works
* Item cards now show a bar indicating play time
* Item cards now have a black/white (depending on theme) shim, improving
  readability.
* The resume watching section now actually loads items
2020-09-27 16:54:45 +02:00
Chris Josten 1ba7f6f8ef Reindent with spaces 2020-09-27 00:48:13 +02:00
Chris Josten a358caf13e Fixed few bugs related to login/logout
* Pressing the logout button now brings the setup page up again
* Removing a server and readding one of which the hash of the address
  has a higher value than the previous one does no longer cause the
  application to request a login each time you open it.
* The method for deciding if the user is in setup has been changed. It
  now checks if a page in the pageStack has the property _isSetupPage,
  which works better than manually keeping track of state.
2020-09-27 00:42:20 +02:00
Chris Josten 67c8621d6f Added settings, logout and improved error states 2020-09-26 23:29:45 +02:00
Chris Josten 1eb6a8fb5d Added comments and general cleanup on qml files 2020-09-25 15:21:08 +02:00
Chris Josten 92a18c4fa5 Added videoplayer and many unrelated things 2020-09-25 14:46:39 +02:00
Chris Josten 53b3eac213 Initial commit
Features so far:
- Login is working, both on back-end and GUI-wise
- Saving and reusing login tokens is working
- The home page is mostly functional
- Show details can be received and displayed in a basic manner

Following features are taken into account, but have not been fully
implemented:
- Support for multiple accounts/servers
- Securely saving login tokens
2020-09-20 12:14:51 +02:00