[owncloud-devel] Deprecated constants, functions and classes

2014-12-01 Thread Joas Schilling
Hi there, In the past week I cleanup the namespace usage of ownCloud a bit. In order to make our code better autoloadable, several few changes have been done. Note: the first two sections have their old way still in place, but marked as deprecated. The new way should be used for new code and old co

[owncloud-devel] Help improving how php-classes and tests work in oC

2014-12-01 Thread Joas Schilling
Hi there fellow-coders, Copied from a comment on github: - Please no longer add execution code to class files, e.g. https://github.com/owncloud/core/commit/fca9d32545c933d3a262c1d49b44a805589de882#diff-4 - Please no longer wrap classes with conditions (all classes should exist in all installations

Re: [owncloud-devel] Celebrate 5 years of ownCloud!

2015-01-12 Thread Joas Schilling
Am 12.01.2015 um 18:36 schrieb Raghu Nayyar: Hi, Delivery is failing to f...@owncloud.com. Can you check? Is it happening for anyone else here too? try f...@owncloud.org Cheers Raghu Cheers Raghu Nayyar Industrial Design Centre, IIT Bombay On Mon, Jan 12, 2015 at 9:41 PM, Jos Poortvliet

Re: [owncloud-devel] 8.0.0 beta 2

2015-01-25 Thread Joas Schilling
Hi, since * Jan /20th/ Release ownCloud 8 RC 1 Only showstopper bugfixes are allowed from now on. stable8 branches are created. * Jan /27th/ Release ownCloud 8 RC 2 is both wrong, do you mind changing the dates/update the info cheers Joas Am 26.01.2015 um 06:17 schrieb Frank Karlitschek:

Re: [owncloud-devel] stable8 branches

2015-02-09 Thread Joas Schilling
If you have an app that tests against ownCloud on TravisCI or anything else. Don't forget to change the target branch of core, where you want to test against. So your stable8 branch is tested against core::stable8 cheers Joas Am 07.02.2015 um 03:30 schrieb Frank Karlitschek: Hi everyone, th

Re: [owncloud-devel] App Dev: Database not creating

2015-03-04 Thread Joas Schilling
Can you check that the version that is in the appconfig table is lower then the one in your version file? Am 04.03.2015 um 16:59 schrieb Ben C: Hi all, I'm the developer of ownNote (https://apps.owncloud.com/content/show.php/ownNote+-+Notes+Application?content=168512). I'm trying to add data

[owncloud-devel] Help speeding up ownCloud - Adjust the navigation entry of your app

2015-03-18 Thread Joas Schilling
Hi there, in the last couple of days we changed the navigation manager to also accept closures as navigation entries.[0][1] In some free time, I started profiling the activity app, and noticed that 80% of the time is spend loading the app.php of all the apps that are installed in my test envi

Re: [owncloud-devel] Transparent / clear informations about delayed updates

2015-05-03 Thread Joas Schilling
Hi Chris, it might be due to the risc you run into, when all client/server user try to download the new version at the same time. The download server might get overwhelmed...? These are just some thoughts, maybe others can help with more details. cheers Am 03.05.2015 um 11:13 schrieb Chris:

Re: [owncloud-devel] No "Remind me" Checkbox

2015-05-12 Thread Joas Schilling
It might be caused by one of the external storages (when they use the ownCloud Login) or Encryption. Maybe you can create an issue so we communicate this better what exactly causes the functionality to not appear. cheers Joas Am 12.05.2015 um 16:34 schrieb Tobia De Koninck: Hi Some time ago

Re: [owncloud-devel] No "Remind me" Checkbox

2015-05-12 Thread Joas Schilling
Well it should be displayed in the instance I think. Just tell the user what is "wrong" so that the feature he is looking for is missing? Am 12.05.2015 um 16:49 schrieb Chris: Hi, for the end-user its documented here: https://doc.owncloud.org/server/8.0/user_manual/webinterface.html#the-owncl

Re: [owncloud-devel] Is this site still actual: http://api.owncloud.org/??

2015-06-05 Thread Joas Schilling
Yes, the site is still the current API documentation, see bottom right: generated on 2015-06-05T06:02:41Z. Although I can not seem to find which version it is being build from. But my assumption is master (currently oC 8.1) Am 04.06.2015 um 16:24 schrieb Arman Khalatyan: Hi, Is this

Re: [owncloud-devel] tool to check app for deprecated API usage?

2015-06-09 Thread Joas Schilling
Am 07.06.2015 um 13:38 schrieb Christian Weiske: I thought that once there was a tool that I could run on my app's code to find out deprecated owncloud API usages. Do I remember correctly? Where do I get it? Well there is only "./occ app:check-code " But this only warns about the use of priva

Re: [owncloud-devel] Submit your talk proposals pls!

2015-06-16 Thread Joas Schilling
Hi, I could try to do somethign about smashbox. However, I'm not a very good speaker, so it could be more of a 15mins demo or something. Is that okay as well? Am 16.06.2015 um 13:58 schrieb Jos Poortvliet: On Tuesday 16 June 2015 10:31:34 Jos Poortvliet wrote: Hi all, June 28 is the deadline

Re: [owncloud-devel] Sabre and Apps

2015-06-16 Thread Joas Schilling
Thanks for the hint. I will send a PullRequest to the docs to get this sorted out. Am 16.06.2015 um 15:58 schrieb Klaus Herberth: Hey Lukas, thank you for your quick response. Why do you clear the backends? This prevents oc to authenticates against an other backend. I tried your code and

Re: [owncloud-devel] Confusion about first release candidate of oC 8.1

2015-06-26 Thread Joas Schilling
Hi there, sorry for getting you confused.: Am 26.06.2015 um 01:58 schrieb Chris: The blog post itself only provides a link to https://owncloud.org/install/#testing-development which only contains a daily build of master. TarBall: http://download.owncloud.org/community/testing/owncloud-8.1.0RC1

Re: [owncloud-devel] ownCloud 8.1 branching

2015-06-30 Thread Joas Schilling
Am 30.06.2015 um 15:35 schrieb Frank Karlitschek: On Jun 30, 2015, at 09:19, Jos Poortvliet wrote: On Monday 29 June 2015 23:11:18 Frank Karlitschek wrote: Hi everyone, we are getting really close to 8.1 now. So we will create the stable8.1 branches on Tuesday around 18:00 CET and an RC1 a

[owncloud-devel] Test your app for deprecated code

2015-07-20 Thread Joas Schilling
Hi there developers, today we merged a code checker that allows you to test your app for deprecated usages, starting from 8.2 (current master) on: occ app:check-code Now checks for everything: private classes (e.g. OC\* and OC_*), deprecated classes (e.g. \OCP\DB) and strong comparisons (===

Re: [owncloud-devel] ownCloud client 2.0 beta build conventions

2015-08-11 Thread Joas Schilling
Hi Phil Am 11.08.2015 um 07:14 schrieb Phil Davis: i.e. do they contain the latest commits that are being applied hour-by-hour to 2.0 branch? Normally nightlies/dailies are build once per night/day, so should take up to 24hours until a fix is in a new build cheers __

Re: [owncloud-devel] [RFC] Splitting owncloud-client

2015-09-30 Thread Joas Schilling
Am 30.09.2015 um 19:38 schrieb Christian Weiske: Hello Sebastian, So my goals is to make the complex syncing logic in owncloud-client usable from other applications. In order to achieve this, I'm splitting out non-GUI functionality into its own lib to be able to use it from my own client (a

Re: [owncloud-devel] Migrating from Win to Lin

2015-10-21 Thread Joas Schilling
Migrating is not supported (due to paths that need arbitrary changing etc.) Best is to set up a new instance and then upload the files again (file names on server can then have the correct name, instead of non (a-z) being replaced with _) Am 20.10.2015 um 22:20 schrieb Jos Poortvliet: Hi, A

Re: [owncloud-devel] Update available via admin interface

2015-11-12 Thread Joas Schilling
Hi Jim, notified the people in charge directly, hopefully it will get resolved soon. cheers joas Am 10.11.2015 um 19:30 schrieb jimkn...@gmx.org: Hello everybody, I would like to raise a question/a requirement regarding the update of OC via admin panel and propose to make updates here availa

Re: [owncloud-devel] extending the activity app

2015-11-17 Thread Joas Schilling
Currently there are no real docs for that, sorry. But as said in IRC, happy to help with specific questions. cheers Joas Von: Nuno Khan An: Gesendet: 17.11.2015 12:52 Betreff: [owncloud-devel] extending the activity app So i am trying to extend the activity app to add

Re: [owncloud-devel] Replacement for OC_L10N::forceLanguage

2015-12-14 Thread Joas Schilling
There was a bug, that will be fixed in 8.1.5, 8.2.2 and 9.0 https://github.com/owncloud/core/pull/20993 Am 12.12.2015 um 12:35 schrieb Josef Meile: Dear list My app: AgreeDisclaimer got broken with Owncloud 8.2.1 because the static function: "OC_L10N::forceLanguage" was removed: https://

[owncloud-devel] Having failing database depending unit tests locally? - There's a fix for it

2015-12-14 Thread Joas Schilling
Hi App devs, last week we did a little change, that makes database depending tests fail with the following error: Your test case is not allowed to access the database. The idea behind that is, that you are forced to correctly specify which tests require database interaction and which tes

Re: [owncloud-devel] Users reporting problem contacting owncloud inc.

2015-12-14 Thread Joas Schilling
Notified the people in charge, thanks for the info. cheers Joas Am 14.12.2015 um 14:40 schrieb tflidd: Dear owncloud team, it's the third time this year that people report problems when contacting owncloud inc. via mail or phone: https://forum.owncloud.org/viewtopic.php?f=36&t=32039 https://f

Re: [owncloud-devel] menu label change

2016-01-04 Thread Joas Schilling
Hi, while that's sounds like a cool and normal idea, I'm sad to disappoint you. ownCloud currently only supports changing template files. Now what you could do, is change the template file, look whether the menu entry is the one you are looking for and then change it there: https://github.com/ow

Re: [owncloud-devel] Where are calendar names specified

2016-02-22 Thread Joas Schilling
Hi Stefan, in 9.0 it's in the dav app: https://github.com/owncloud/core/blob/master/apps/dav/lib/hookmanager.php#L101-L123 in 8.2 it's in the calendar app: https://github.com/owncloud/calendar/blob/stable8.2/lib/calendar.php#L143-L151 cheers Joas Am 22.02.2016 um 11:07 schrieb Stefan Herzog:

[owncloud-devel] Status code of RedirectResponse changed in 9.0

2016-02-22 Thread Joas Schilling
Hi there, in 9.0 we merged a patch that changed the status code of the AppFrameworks RedirectResponse. The API was always ment to redirect the user "307 Temporary Redirect", but the status code was "303 See Other". This has now been addressed, so in case you used it and check for status codes,

Re: [owncloud-devel] Status code of RedirectResponse changed in 9.0

2016-02-22 Thread Joas Schilling
Am 22.02.2016 um 16:02 schrieb Joas Schilling: Hi there, in 9.0 we merged a patch that changed the status code of the AppFrameworks RedirectResponse. The API was always ment to redirect the user "307 Temporary Redirect", but the status code was "303 See Other". O

Re: [owncloud-devel] Bug#815963: Warn users about unsupported upgrade path

2016-02-26 Thread Joas Schilling
Am 26.02.2016 um 13:58 schrieb Chris: Furthermore the NEWS file is only telling to use the 8.0.10 from https://people.debian.org/~taffit/owncloud/ where 8.1.5 is also needed before going to 8.2.2 You have to update 7.0.x > 8.0.x > 8.1.x > 8.2.x > 9.0x (to be released in march) The Debian

Re: [owncloud-devel] Update-procedure: Is maintenance mode kept by default?

2016-02-28 Thread Joas Schilling
Am 28.02.2016 um 00:03 schrieb tflidd: Hi, I'm wondering if this is a wanted behavior of owncloud for debian-updates. What I have to do: 1) apt-get update && apt-get upgrade 2) I get a warning that I need to run the occ command 3) I run the occ upgrade Set log level to debug Checking whether

Re: [owncloud-devel] Folder size Pending and unknown Error

2016-02-28 Thread Joas Schilling
Am 28.02.2016 um 10:56 schrieb Chris Spencer: This happens to be the biggest folder we have and am wondering if there might be a parameter for max folder size I need to change? No if not any ideas why I would unknown error anyway to trouble shoot this? Any entry in your owncloud.log file? c

[owncloud-devel] Calendar and Contacts repositories of stable branches moved

2016-03-01 Thread Joas Schilling
Hi there, not sure who of you is using git to host his ownCloud instance, but if you do and you also use either the calendar or contacts app, make sure to adjust the repositories for < 9.0 releases. Just run the following two commands, to get your repos to the right address: Calendar: git r

Re: [owncloud-devel] Calendar and Contacts repositories of stable branches moved

2016-03-01 Thread Joas Schilling
Am 01.03.2016 um 11:44 schrieb George Langham: How well does it run on Git compared to a self-hosted? I've been considering running a version myself. You seem to misunderstand, it's just a question where your source code and updates come from, not whether they are stored on your server or not.

[owncloud-devel] Stable9 branch and version update on master

2016-03-02 Thread Joas Schilling
Hi developers, last night not only 9.0.0-RC1 was released, but also the stable9 branch was created. master will soon have it's version updated to 9.1: https://github.com/owncloud/core/pull/22769 This might make your unit tests failing, if you have the owncloud version as a version requirement

Re: [owncloud-devel] list of users who can read a file

2016-03-03 Thread Joas Schilling
Maybe not the best and not the fastest, but it works: https://github.com/owncloud/activity/blob/master/lib/fileshooks.php#L145-L146 + https://github.com/owncloud/activity/blob/master/lib/fileshooks.php#L173-L205 Hope that helps Am 03.03.2016 um 17:14 schrieb Devin Ceartas: What is the best way

Re: [owncloud-devel] Help please!

2016-03-09 Thread Joas Schilling
For file sharing "REST" api see: https://doc.owncloud.org/server/8.2/developer_manual/core/ocs-share-api.html Am 09.03.2016 um 11:29 schrieb Mohammed Amine Saidi: Hi, I'm new at Owncloud here is my configuration : Apache 2 , MySQL ,Ubuntu , Owncloud 8.0 The problem is that i want to build a

Re: [owncloud-devel] User Provisionning API

2016-03-15 Thread Joas Schilling
Use http://:@/ocs/v1.php/... Am 15.03.2016 um 13:03 schrieb Mohammed Amine Saidi: Hello, i'm trying to call OwnCloud user provisioning APi from a web application and i get this xml as a result when i execute my code "failure 997 Unauthorised" the problem is when i do want to sent the request t

Re: [owncloud-devel] GSoC introduction

2016-03-22 Thread Joas Schilling
Am 21.03.2016 um 21:38 schrieb Calinou: But, before the actual GSoC debut, I'm looking to make one or two patches to ownCloud. Which junior jobs would be suitable for someone like me who has front-end developer skills? Just combine both labels? https://github.com/owncloud/core/issues?q=is%3Ao

Re: [owncloud-devel] Updating issue with 9.0.1 beta 1. Which repo to report to?

2016-03-29 Thread Joas Schilling
https://github.com/owncloud/core/issues/22959 Am 25.03.2016 um 19:22 schrieb Mark Ziegler: Hello, just copied my productive cloud v8.2.3 and made an update to v9.0.1 beta 1. My non default package apps are contacts, calendar, music, notes and news. Update screen shows errors regarding db up

Re: [owncloud-devel] where to report app bug?

2016-04-19 Thread Joas Schilling
Try: https://github.com/owncloud/files_antivirus if that is the app you are talking about Am 19.04.2016 um 11:11 schrieb Martin crysman ZahradnĂ­k: Please, where to report an app bug? I believe this https://apps.owncloud.com is not the correct place... The bug is in "antivirus" plugin. Thanks #M

Re: [owncloud-devel] activity mail attachements

2016-04-20 Thread Joas Schilling
Am 20.04.2016 um 15:01 schrieb Mathieu Fourcroy: Hi, I'm new to OwnCloud, I just install it at home and I am using the activity app. I have two questions about this app: - Is it possible to send emails more frequently than every hours, like every minutes ? There is only 3 possible values (ho

[owncloud-devel] PSR-4 and Apps

2016-05-03 Thread Joas Schilling
Hi there, today we merged a PR that also allows apps to use PSR-4 compatible autoloading standard. If you don't know what PSR-4 is, it means that files and folders have the exact same name and casing, the class or namespace has. Let me give you an example: * ownCloud <9.1: OCA\MyApp\Namespace

Re: [owncloud-devel] PSR-4 and Apps

2016-05-03 Thread Joas Schilling
working for a while longer ;) cheers nickvergessen Am 03.05.2016 um 10:29 schrieb Vincent Petry: Does it also affect test classes in some way ? (the ones stored under MyApp/test) Cheers, Vincent On 03.05.2016 10:23, Joas Schilling wrote: Hi there, today we merged a PR that also allows apps to

Re: [owncloud-devel] Making Owncloud backups safely

2016-05-24 Thread Joas Schilling
HI, on my servers I first send the issue to maintenance mode: ./occ maintenance:mode --on Then I shut down apache: service apache2 stop But yes, should be resumable after the backup and should work fine. cheers Am 24.05.2016 um 14:12 schrieb Disco Patrick: Hi all. The Owncloud admin manual rec

Re: [owncloud-devel] Interested in assisting to translate OC

2016-05-26 Thread Joas Schilling
Am 26.05.2016 um 09:35 schrieb Yonatan Yehezkeally: Thanks Daniel, but I'm having difficulties getting into the translation system. It just allows me to 'request to join the team' on any specific language; the interface tells me that I'll be notified of whether my request was approved. BR, --Y

Re: [owncloud-devel] How to trigger the hooks when using the sync client?

2016-05-30 Thread Joas Schilling
Make sure that after adding to the types you trigger an update for your app increase the version and visit the web UI once. Am 29.05.2016 um 13:13 schrieb Jalpreet Singh Nanda: Hi, Media Metadata I have tried two methods: 1. The first is the new

[owncloud-devel] Boolean no longer allowed in user preferences for 9.1+

2016-06-08 Thread Joas Schilling
Hi Devs, we merged a patch for 9.1 which throws an exception, when you try to store anything but a string, integer or float in the user preferences. The problem is, that not all dbs behave the same with e.g. boolean values. Postgres stores them as string 'f' and 't', so when you later grab the