GSoC is over - latest update on Music App Playlist Functionality
August 27, 2014
I wish I could write this article from Berlin, but due to my Master Thesis deadline, I was unable to attend to the Berlin ownCloud conference.
Finally, GSoC is over and we (I should say we as it was almost impossible without help of Morris) finished the coding for the proposal that I've made.
I will be writing more on Music app and the latest progress, but first of all I would like to thank to Google, Morris Jobke, and ownCloud community for giving this opportunity to me.
In the previous article I wrote about the main major changes on the project and after this update, we did some refactoring stuff for better maintainability in the next versions. The code will be merged slowly, but until you see it included in the Music app, you will need to wait for some issues to be resolved:
- Apps menu is not shown
- Shuffle & repeat buttons are shifted
- Mobile view - we want ownCloud web interface to be used in all environments
If you want to test the in-development code in your current ownCloud environment, clone the Music repository and change the active branch into playlist-last. To do that, run the following commands:
$git clone https://github.com/owncloud/music.git
$git checkout playlist-last
If you want to see the Pull Request on GitHub, you can go here.
Thank you again for ownCloud community for the great software!
PS: Please do not use this branch in production as this is just an experimental feature (yet)!
GSoC -Final Evaluation, Dev Meet-up Berlin
August 26, 2014
So, Google Summer of Code 2014 is finally over and yes, I cleared it with Georg Ehrke as my super awesome mentor. He is writing the Calendar backend since quite some time now and I started with the front-end with the summer of code project.
We are currently at TU Berlin, where the community is busy interacting with the folks we know by the IRC nicks and writing some beautiful code.
Things we pushed:
- A fullcalendar running on angularJS.
- Creating, Editing and Updating Calendars and Subscriptions.
- Displaying the events daywise, weekly and monthly.
- Porting jQuery Modal to angularJS. (This gave me a ridiculously tough time)
- A very basic Events Editor with support for
Things I expect to get over by the end of the ownCloud Developer Conference.
- Calendar Sharing.
- Optimising / Cleaning Up the mess I created at a couple of places.
So, looking forward to an amazing week here.
PS: A big thanks to Akriti Gupta, who helped me out with accomodation for a day! :D
Goodbye, OPW! and State of the Application
August 25, 2014
I can hardly believe it, but as of this week, my internship with ownCloud through the Outreach Program for Women is over. I'll write up a full retrospective later, but today I wanted to publish a few notes about the state of my code. My internship might be over, but I'm certainly not putting this project away any time soon!
The application has a basic interface and is capable of uploading photos to ownCloud using a given set of credentials. It uses Basic Auth and is secure if and only if it connects to a server using SSL. It is able to naively distinguish between photos that already exist on the server and photos that are new. It is able to use Mozilla's system XHR setting to originate requests from the phone and avoid cross-origin incompatibility issues.
As I see it, there are four major areas in the application that still need immediate attention:
Credential storage. The WebDAV server requires that the username and password be sent with every request. I'm still looking for the most secure client-side credential storage solution. I've created an issue to track progress on this portion of the project.
Auto-uploading. Uploading in batches using the alarm API seems to be the way to go, but there are lots of application design questions to be answered. How often should the device attempt to upload? What should the app do if the device isn't connected to WiFi at the designated upload time? Help me answer these questions and more in this thrilling Github issue!
User interface. The scrollbar gutter seems to change width in every version of the OS, which pushes elements around in unexpected ways. CSS errors cause rendering glitches on the device that don't show up in the simulator. There are things to be improved.
Test coverage. Unit testing is incomplete, as well as unnecessarily cluttered when it involves XML. E2E testing is nonexistent.
I feel a little strange posting this write-up when there's so much more I could do on my own before presenting this project to the ownCloud community, but I also have to admit that there's a strong possibility I might feel that way forever. So, in lieu of further procrastination, here is the repository. Feel free to ask me any questions regarding development thus far!
ownCloud 7 on Firefox OS
August 23, 2014
Well, my first impressions were that the design has changed from Ubuntu-like (launcher on the left) to more ownCloud unique compact thing (although you should know that the applications are "hidden" under the cloud on the top left corner). I have all my files filtered (shared etc) and viewed at glance, at the left side of my screen. Generally, it seems faster than the old version (not only using my PC but also using my mobile). The setup-owncloud.php script is the best feature I think (even if it's old). A noob user can install ownCloud (if he has a server running). A feature that I would like to have is to read my mail from my ownCloud instance. Unfortunately roundcube didn't work. I hope I made a mistake and didn't work for me. Please ownClouders, create an easy app to setup and read IMAP mail.
I wanted to test the feature that ownCloud 7 has about the mobile support. I hope this post will help the developers at ownCloud conference to create an application for Firefox OS. I want to show you how it looks and how it works. The screens are in Greek but I didn't change the language of my instance.
As you probably understood, I use Firefox OS (Alcatel One Touch Fire). So I opened free host ownCloud instance. First of all, enter username and password.
So first screen is files.
If you sweep from left to right, you'll see the extra menu (shared, external and deleted files).
1. USER MENU
Let's explore the interface. At the top right corner, there's the user menu (my picture). Tap there to view the pop up menu and then click Personal (it's the first option).
Click on the top left corner to see all the available applications. I'll show you one by one the basic applications, and use some extra I added.
3. FILES UPLOAD
It's quite fast, at least with small files. I tried to upload the files I took screenshots. The folder is photos (for obvious reason).
Click the arrow and then choose the files (firefox os will ask you what type of file you want to upload and then choose the file).
After you choose, it'll preview what you'll upload. Click OK (top right corner) and wait (there's the progress bar).
Let's try to write a document (DON'T TRY THIS AT HOME. IT'S ONLY FOR EMERGENCY REASON). It's very painful since the screen is so small.
Click on the new document icon and start to type.
As you can see, there's hardly one line to write your document. You can change the title of your document.
How can I see what pictures I have? Well, the files preview, show me a small thumbnail that I cannot understand. So I can use the gallery view. First choose the album you want to see (here I click photos).
Then you can see all the pictures that the "folder-album" has. Tap the one you want to see.
6. NEWS RSS
After the google reader death, many of us tried to find how to replace it. Well, there's a cool extra application you can enable. It's called news.
When you tap on the RSS you want to read, the stream show up. Unfortunately, the alignment isn't perfect. Not sure if my device cannot align it or it's the application (sorry but the last post to planet ownCloud was mine ;-) ).
7. CALENDAR - CONTACTS
I put those two together since I didn't start to use them yet. I just want to show you how it looks like on my Firefox OS phone.
8. ADD APPLICATIONS
There's a site with extra applications http://apps.owncloud.com/. Go there and search what you like. How you can enable this application? From the add application menu.
Tap on application to see the status and enable it from here (here I enable dependencies info).
9. ACTIVITY - SEARCH
If you use your instance with others, you have to know what files changed. To do that, you can use activity feature.
Sometimes though, you might search for a file. You can do that too. The screen doesn't help you but you'll get your result.
I hope you liked the pictures. I didn't test music or video applications since the screen is too small and also the bandwith not very high. So I leave those two features for my PC/Laptop.
Upgrade openshift instance from ownCloud 6 to ownCloud 7
August 22, 2014
My final ownCloud instance (I hope) was the openshift one. The truth is that I don't use this. I started it to test the service. This time I did it with Updater.
1. Go to User Menu>Admin>Update and click on Update Center. The updater app has to be installed. If you don't know how to do it, here is the documentation.
The following image will come up. It'll inform you that it'll create a backup. You click on proceed.
2. Now it'll start the procedure of upgrade you instance. Click on Start update.
3. Wait couple of minutes.
4. If everything was OK, you'll see your files (as I told you I didn't start to use it).