Lukas Reschke
e88731a477
Some more PHPDoc fixes
10 years ago
Thomas Müller
c1fd300048
using array_key_exists() instead of isset() - required because in case the value is null isset is returning false
10 years ago
Bart Visscher
35a8dfb2fa
More PHPDoc fixes, using scrutinizer patches as hints
10 years ago
Scrutinizer Auto-Fixer
adaee6a5a1
Scrutinizer Auto-Fixes
This patch was automatically generated as part of the following inspection:
https://scrutinizer-ci.com/g/owncloud/core/inspections/cdfecc4e-a37e-4233-8025-f0d7252a8720
Enabled analysis tools:
- PHP Analyzer
- JSHint
- PHP Copy/Paste Detector
- PHP PDepend
10 years ago
Robin Appelman
50cc6a85e5
Add explicit sorting
10 years ago
Joas Schilling
b330d07b51
Fix more documentation failes
Issue #7111
10 years ago
Robin Appelman
cd3ef0bb9d
Add caching to appconfig
10 years ago
Jörn Friedrich Dreyer
2a6a9a8cef
polish documentation based on scrutinizer patches
10 years ago
Vincent Petry
c6377e9125
Fixed apps loading order
On SQLite the app order can be arbitrary and cause strange bugs.
On MySQL, the app order seems to be always alphabetical.
This fix enforces alphabetical order to make sure that all environments
behave the same and to reduce bugs related to app loading order.
Fixes #6442
10 years ago
Robin Appelman
2e195dbdae
dont re-read the config values for an app when a non existing key is fetched
10 years ago
Robin Appelman
5a646477a5
Fetch all appconfig values for an app at once and cache the results
10 years ago
Morris Jobke
1f1fcc6129
Remove "link" shares right after disabling the "allow_link_share" setting
10 years ago
Thomas Müller
9c9dc276b7
move the private namespace OC into lib/private - OCP will stay in lib/public
Conflicts:
lib/private/vcategories.php
10 years ago
Bart Visscher
2f79e94a35
Style fixes
11 years ago
Bart Visscher
c546874159
Convert OC_Appconfig to object interface
Implemented unittest for OC\AppConfig
11 years ago
Bart Visscher
ffae6f4b84
Style-fix: Breakup long lines
11 years ago
Felix Moeller
afadf93d31
Checkstyle: many fixes
11 years ago
Felix Moeller
6a00a6b9ed
Make Jenkins more happy.
This is NoSpaceAfterComma
11 years ago
Sam Tuke
8b01286a5d
Merged branch 'master'
11 years ago
Robin Appelman
4131b205d4
fix some more phpdoc
11 years ago
Thomas Mueller
3829460ab8
adding space between) and {
12 years ago
Bart Visscher
52f2e7112e
Whitespace fixes in lib
12 years ago
Jörn Friedrich Dreyer
14c5d08a3f
reorder code for readability
12 years ago
Jörn Friedrich Dreyer
ab976863ae
fix sql
12 years ago
jfd
ede464f058
escape all identifiers with backticks
12 years ago
Frank Karlitschek
a945fa10a6
update copyright
12 years ago
Robin Appelman
dec139716e
cache app types in the db
12 years ago
Robin Appelman
273972b75a
prevent sql error while initializing apps on sqlite2
12 years ago
Robin Appelman
88f4f5413a
add OC_Appconfig::hasKey
12 years ago
Robin Appelman
8c7aa06088
dont use numRows when it's not needed since it can be expensive
13 years ago
Robin Appelman
5e3ecbbf96
dont use numRows when it's not needed since it can be expensive
13 years ago
Robin Appelman
5c9178f851
Fixed a bug in appconfig, where an initially empty set value led to endless duplicates of this app/key pair.
Path by Elias Probst <mail@eliasprobst.eu>
13 years ago
Jakob Sack
bafd684eb6
Renaming classes :-)
13 years ago
Jakob Sack
2ff8d7a8bc
One class per file!
13 years ago
Jakob Sack
d70dfbdebb
Renamed a few columns in order t ohave both sqlite and mysql up and running
13 years ago
Robin Appelman
96cb5a3d2e
fix oc_appconfig for sqlite
13 years ago
Jakob Sack
3d89b2caa4
php is not perl
13 years ago
Jakob Sack
7c8ae42c6f
Fixed some small bugs
13 years ago
Jakob Sack
f66d3ab208
Implementation of OC_APPCONFIG, OC_CONFIG and OC_PREFERENCES
13 years ago
Jakob Sack
1aa7fd98c2
Refactoring OC_APPCONFIG and OC_PREFERENCES, minor changes to OC_APP. These libraries are skeletons only, the functions need to be written.
13 years ago
Jakob Sack
ae5dc3efdf
New classes for owncloud: OC_APP for applications, OC_PREFERENCES for user preferences
13 years ago
Jakob Sack
132695ceb1
Start of the refactoring. Commit is quite big because I forgot to use git right from the beginning. Sorry.
13 years ago