Re: [Owncloud] troubles with 4.5.4 and "personal info" (personal.php)

2012-12-05 Thread Pierre Malard
Le 4 déc. 2012 à 17:26, Pierre Malard a écrit : > Hi, > > We have some troubles since we use the 4.5.3 version from debian repository. > > 1) nobody can access to "Personal" parameter's tag. > We have a blank page and this error message on apache's logs > -

Re: [Owncloud] Need feedback for apptemplate_advanced and app tutorial

2012-12-05 Thread Bernhard Posselt
I've updated the documentation and the apptemplate. There are more hints on how to create Controllers and when you should create them, PHPUnit mockobjects are now used for the unittest example and security excemptions can now be defined with annotations (wrote a very simple parser for that :) ) I'

Re: [Owncloud] Need feedback for apptemplate_advanced and app tutorial

2012-12-05 Thread Bernhard Posselt
Wow great :) BTW im in progress of making security checks easier by using annotations. Basically you can add doc comments to disable checks like /** * @CSRFExcemption * @IsAdminExcemption * * @brief renders the index page * @param array $urlParams: an array with the v

Re: [Owncloud] Need feedback for apptemplate_advanced and app tutorial

2012-12-05 Thread Nathan Anderson
This tutorial was made a just the right time for me. I'm basically brand new to ownCloud and I need to make an app or two for my work. Thanks! I did notice an issue with the tutorial. The 'apptemplate_advanced/appinfo/app.php' file in the tutorial does not match the latest file in git (line

Re: [Owncloud] Need feedback for apptemplate_advanced and app tutorial

2012-12-05 Thread Diederik de Haas
On Thursday 06 December 2012 00:43:09 Bernhard Posselt wrote: > Thank you, I've add the o+rw o-rw thing, seemed to be nice and easy :) After closer inspection, o+w and o-w are probably better, because you won't remove the read permissions if they were available before the chmod commands (which i

Re: [Owncloud] Need feedback for apptemplate_advanced and app tutorial

2012-12-05 Thread Bernhard Posselt
On 12/05/2012 11:11 PM, Diederik de Haas wrote: > On Wednesday 05 December 2012 23:01:37 Bernhard Posselt wrote: >>> Why is the following line needed? (good comment though!) >>> sudo chmod a+rw /var/www # only do this on your dev machine! >>> >>> You probably don't want to find out your app isn't

Re: [Owncloud] Need feedback for apptemplate_advanced and app tutorial

2012-12-05 Thread Diederik de Haas
On Wednesday 05 December 2012 23:01:37 Bernhard Posselt wrote: > > Why is the following line needed? (good comment though!) > > sudo chmod a+rw /var/www # only do this on your dev machine! > > > > You probably don't want to find out your app isn't working when the whole > > world does NOT have w

Re: [Owncloud] Need feedback for apptemplate_advanced and app tutorial

2012-12-05 Thread Bernhard Posselt
On 12/05/2012 10:39 PM, Diederik de Haas wrote: > On Wednesday 05 December 2012 16:18:38 Bernhard Posselt wrote: >> The app is already documented in a tutorial >> which needs review too >> (http://doc.owncloud.com/server/5.0/developer_manual/tutorial.html) > Nice work! > > Why is the following li

Re: [Owncloud] Need feedback for apptemplate_advanced and app tutorial

2012-12-05 Thread Diederik de Haas
On Wednesday 05 December 2012 16:18:38 Bernhard Posselt wrote: > The app is already documented in a tutorial > which needs review too > (http://doc.owncloud.com/server/5.0/developer_manual/tutorial.html) Nice work! Why is the following line needed? (good comment though!) sudo chmod a+rw /var/ww

Re: [Owncloud] CSS: use px, not em

2012-12-05 Thread Diederik de Haas
On Wednesday 05 December 2012 01:09:17 Jan-Christoph Borchardt wrote: > Please only use px as values, no em anymore. ... > px are absolute and let us control everything much easier, while em are > relative to the font-size I tend to agree with Thomas Tanghus and Sebastian Kügler and am rather worr

Re: [Owncloud] Need feedback for apptemplate_advanced and app tutorial

2012-12-05 Thread Mark - Syminet
Wow - thanks so much for this. I think for many the biggest cost of entry is getting the basics down, to write simple apps that work. This is great stuff which will help the base of developers grow. Mark On Dec 5, 2012, at 7:18 AM, Bernhard Posselt wrote: > Hi, > > I'd really appreci

Re: [Owncloud] Need feedback for apptemplate_advanced and app tutorial

2012-12-05 Thread Bernhard Posselt
Not yet. It contains mainly examples for the backend and a basic angularjs file for the frontent. It would be cool to include it though, maybe it would also be the place to try out the settings slideup thing. On 12/05/2012 06:14 PM, Jan-Christoph Borchardt wrote: Does the apptemplate also inclu

Re: [Owncloud] CSS: use px, not em

2012-12-05 Thread Jan-Christoph Borchardt
Please see my previous email: em and rem have nothing to do with responsiveness, in regards to that px behave exactly the same, namely relative. I just checked back on a recent project, also responsive – there I even mixed em and px. Also see the Bootstrap interface library, it uses px and is prob

Re: [Owncloud] Need feedback for apptemplate_advanced and app tutorial

2012-12-05 Thread Jan-Christoph Borchardt
Does the apptemplate also include an interface baseline? We should do one either way, mostly moving CSS from News into core. (Like for the list on the left, the counter, the settings slide up etc.) On Wed, Dec 5, 2012 at 4:18 PM, Bernhard Posselt wrote: > Hi, > > I'd really appreciate it if peop

Re: [Owncloud] Need feedback for apptemplate_advanced and app tutorial

2012-12-05 Thread Steffen Lindner
Hi, WOW, this is great work! As soon as i find time, i try to port my app to the described template and give feedback! Thanks for this documentation! Greets, Steffen Am 12/5/12 4:18 PM, schrieb Bernhard Posselt: > Hi, > > I'd really appreciate it if people with framework and/or programming >

Re: [Owncloud] CSS: use px, not em

2012-12-05 Thread Drew Hornbein
hi everyone, I've been lurking here for a while. If you have any intention to make owncloud responsive going with em and rem is the right choice. On Wed, Dec 5, 2012 at 9:32 AM, Bernhard Posselt wrote: > Wow thanks. rem looks awesome and would solve my current problems :) > > > On 12/05/2012 05

Re: [Owncloud] CSS: use px, not em

2012-12-05 Thread Jan-Christoph Borchardt
First off, sorry for the tone of the previous email. I didn’t mean to set a commandment, so let’s discuss. Here’s my explanation: TL;DR: Contrary to popular belief, px are not dpi-dependent. They are relative just like em. px were mainly regarded as negative for accessibility beause they are not

[Owncloud] Need feedback for apptemplate_advanced and app tutorial

2012-12-05 Thread Bernhard Posselt
Hi, I'd really appreciate it if people with framework and/or programming patterns knowledge could give me feedback on the current state of the apptemplate_advanced app. The app is already documented in a tutorial which needs review too (http://doc.owncloud.com/server/5.0/developer_manual/tuto

Re: [Owncloud] CSS: use px, not em

2012-12-05 Thread Bernhard Posselt
Wow thanks. rem looks awesome and would solve my current problems :) On 12/05/2012 05:56 AM, Thomas Tanghus wrote: On Wednesday 05 December 2012 01:09 Jan-Christoph Borchardt wrote: Just a short public service announcement concerning everyone who writes CSS in ownCloud: Please only use px as v

Re: [Owncloud] ORM

2012-12-05 Thread Bernhard Posselt
OK thanks for all the replies. Ive added a simple mapper and entity example like the ones wie use in the newsapp. Tutorial is now complete and ill probably add only small changes from now on. Frank Karlitschek schrieb: >Not yet. This is too late for ownCloud 5 so I would wait with the tutorial

Re: [Owncloud] CSS: use px, not em

2012-12-05 Thread Christopher Kunz
Am 05.12.12 01:09, schrieb Jan-Christoph Borchardt: > Just a short public service announcement concerning everyone who writes > CSS in ownCloud: > > Please only use px as values, no em anymore. Why? This sounds like an incredibly bad idea to me because almost every flexibility wrt resolution ppi

Re: [Owncloud] CSS: use px, not em

2012-12-05 Thread Sebastian Kügler
On Wednesday, December 05, 2012 01:09:17 Jan-Christoph Borchardt wrote: > Please only use px as values, no em anymore. This is likely to make ownCloud harder to use or even unusable on high-dpi displays, such as Retina or my Vaio's. I would recommend to use dpi-dependent sizes everywhere, so em

[Owncloud] Upload Button on 4.5.4 is broken again?:)

2012-12-05 Thread Arman Khalatyan
Hi, I found strange thing: In berlin meeting we applause on "The Upload Button Was fixed!! WOO cool", in 4.5.4 in Chrome under Ubnutu 12.04x it is still broken it is not aligned with NEW button. Screen shot is in attachment. Also after upload by drag-n-drop the icon never of uploaded file is update

Re: [Owncloud] ORM

2012-12-05 Thread Jörn Friedrich Dreyer
On 04.12.2012 23:15, Bernhard Posselt wrote: > Did we decide on an ORM yet? I'd like to finish the app tutorial with a > recommendation on how to do it and writing an own layer doesnt seem to > be worth the work if its replaced. Before thinking of an ORM we should complete the move from MDB2 & PDO

Re: [Owncloud] CSS: use px, not em

2012-12-05 Thread Arman Khalatyan
Hi, Strange suggestion, From my experience: We move our applications to em , we got angry quickly when we used px instead of em, also when one try to use web-application on different type of devices, with different scale factors of fonts in user defined settings and on large screens em is important

Re: [Owncloud] ORM

2012-12-05 Thread Frank Karlitschek
Not yet. This is too late for ownCloud 5 so I would wait with the tutorial until we have something implemented and working next year. :-) It we want to do it at all. Frank On 04.12.2012, at 23:15, Bernhard Posselt wrote: > Did we decide on an ORM yet? I'd like to finish the app tutorial wi

Re: [Owncloud] CSS: use px, not em

2012-12-05 Thread Christian Reiner
Hello... On Wednesday 05 December 2012 01:09:17 Jan-Christoph Borchardt wrote: > Just a short public service announcement concerning everyone who writes CSS > in ownCloud: > > Please only use px as values, no em anymore. Though I agree that this might make a few adjustments easier right now we