Arthur Schiwon
ec3639dc7a
Always check variable type before using readdir to avoid surprises
11 years ago
Robin Appelman
c5402f4575
use strict equals in readdir loops to prevent issues with '0' files
11 years ago
kondou
9c5416fe4a
Clean up \OC\Util
- Use camelCase
- Add some phpdoc
- Fix some indents
- Use some more spacing
11 years ago
kondou
605050df9b
Log exception at the catching code
11 years ago
Jan-Christoph Borchardt
367b248bc0
show 'More apps' link to app administration directly in app navigation
11 years ago
kondou
1a4465f41d
Improve app-management
- Better error messages
- Translate untranslated strings
Basically picks non-app-dependency related stuff from #4017
11 years ago
Bart Visscher
179b42c56d
Fixed review issues
11 years ago
Bart Visscher
df8ad46dae
Change exit calls to throwing an exception
This way the error won't be fatal in a unit test
11 years ago
kondou
d9c697534d
Fix some typos
11 years ago
Björn Schießle
c4aef89278
introduce pre-disable-app hook and use it for the encryption app to reset migration status if the app was disabled
11 years ago
Björn Schießle
839bce80c6
make main menu aware of the different owncloud editions
11 years ago
Jörn Friedrich Dreyer
5ec13742b3
use to_char to allow comparing string to CLOB cloumns in oracle
11 years ago
Jörn Friedrich Dreyer
cbd5eb9a1a
use to_char only for oracle, whitespace
11 years ago
Jörn Friedrich Dreyer
eceb3c8ed5
add debug output
11 years ago
Bernhard Posselt
f415f3e03e
return true once one owncloud version number is bigger at any position
11 years ago
Bernhard Posselt
5bf3d286f0
created unittests and factored out version test into seperate method
11 years ago
Bernhard Posselt
ecd40f0abc
spaces to tabs
11 years ago
Bernhard Posselt
736d5deaee
version checks for apps now use all three version numbers and fixed bug that would not do the version check correctly for the second version
11 years ago
Bart Visscher
ffae6f4b84
Style-fix: Breakup long lines
11 years ago
Bart Visscher
2679123846
Add braces around single line if statements
11 years ago
Bart Visscher
d3ef967993
Fix indentation style
11 years ago
Bart Visscher
5c4a804ddb
Fix SpaceBeforeOpenBrace errors
11 years ago
Lukas Reschke
bd2f8980cd
Typo
11 years ago
Bart Visscher
9dddcae9ca
Remove invalid characters from app id to prevent loading of invalid resources
11 years ago
Frank Karlitschek
4a130d106c
I'm an evil bastard and I commit this 3 letter text fix without a pull request.
11 years ago
Bart Visscher
340d6fce11
Better way of getting the navigation entries for an app
11 years ago
Stefan Herbrechtsmeier
ab2b79cda6
add multiple domains reverse proxy support
Add support for a reverse proxy that handles multiple domains via different
web roots (http[s]://proxy.tld/domain.tld/owncloud).
As the reverse proxy web root is transparent for the web server the
REQUEST_URI and SCRIPT_NAME need manual adjustments. This patch replace
the direct use of this _SERVER variables with function calls and extend
this functions to overwrite the web root. Additionally it adds a Sabre
request backend that extends the Sabre_HTTP_Request to use the same
functions.
12 years ago
Thomas Mueller
665bb41c1f
style fixes
11 years ago
Frank Karlitschek
389c4e8415
mark recommended apps. server part not yet fully implemented
11 years ago
root
3fa4b3abff
apps updater is now working
11 years ago
Thomas Mueller
825cdf8560
add support for apps to register alternative login methods
below the standard login a list of icons/button will be displayed
11 years ago
Lukas Reschke
30274ee33e
Move to OC_App
11 years ago
Lukas Reschke
a29f9f90ab
Indentation
11 years ago
Frank Karlitschek
a27f92a17a
we are getting closer. updating is not working yet.
11 years ago
Björn Schießle
d2c5f9bec7
fix error message, add "appid" to the output to know which app caused the error if OC_App::getStorage() fails.
Port of approved patch for stable45: https://github.com/owncloud/core/pull/1222
11 years ago
Bart Visscher
5bfe4adbaa
Whitespace cleanup
11 years ago
Lukas Reschke
31b1a73e1f
Check if user is admin - bool
There was no "isAdminUser()" function which returned bool. This is
irritiating as there were a loooooooot of places in the code which
checked this itself with `OC_Group::inGroup($uid, 'admin)` - why not
use a function for this?
(Especially if you consider that we might change the group name in the
future, which would lead to problems then)
Additionally, @Raydiation needed such a method for his AppFramework :)
11 years ago
Michael Gapczynski
f6426cee04
Tweak failure message and throw exceptions from updateDbFromStructure()
11 years ago
Michael Gapczynski
89823ef4f9
Modify and include additional update messages from updating apps
11 years ago
Michael Gapczynski
e7eea3dd2e
Use hooks to send updates from apps
11 years ago
Bart Visscher
68562dafb4
More whitespace fixes
11 years ago
Bart Visscher
8ce3aca331
Move loading of all the apps to setting the active navigation entry.
We can't do the loading before matching the route, because some routes
need to do the loading after matching of the route. For example the
navigation detection of the app settings page.
11 years ago
Felix Moeller
30d7993e01
Checkstyle fixes: NoSpaceAfterComma
11 years ago
Felix Moeller
afadf93d31
Checkstyle: many fixes
11 years ago
Bart Visscher
40fe6c6346
Remove subnavigation key, not used
11 years ago
Georg Ehrke
1888ac0d41
add the possibility to add an preupdate.php
11 years ago
Felix Moeller
36d0d75901
Codestyle: FunctionCallArgumentSpacing
11 years ago
Felix Moeller
ff5f9370c4
Checkstyle: MultiLineCondition
11 years ago
Bart Visscher
051dde08db
Check for file exists before loading app version file
11 years ago
Bart Visscher
44287d680b
Check for file exists before loading app version file
11 years ago