Bjoern Schiessle
ab6e47b44a
oc_cache needs to disable file proxys for read/write operation. Otherwise the operation will go through the encryption app which will not work.
2013-08-08 09:44:19 +02:00
Thomas Müller
fb890eee67
fixes #4343
2013-08-08 00:42:28 +02:00
Bart Visscher
d563367b0f
More style fixes
2013-08-07 22:22:33 +02:00
Bart Visscher
83988a5906
Fix stupid bug
2013-08-07 21:01:31 +02:00
Bart Visscher
0783267e2c
Move query processing after the check for prepared statement cache
2013-08-07 18:21:49 +02:00
Jan-Christoph Borchardt
367b248bc0
show 'More apps' link to app administration directly in app navigation
2013-08-07 18:18:09 +02:00
Bart Visscher
2cc94cbc73
Style fixes
2013-08-07 18:17:37 +02:00
Robin Appelman
a0243e03ef
use ===
2013-08-07 17:17:30 +02:00
Robin Appelman
9321eceed6
add the option to have templates for newly created files
2013-08-07 16:53:09 +02:00
Robin Appelman
fc332acf8a
split of mimetype detection code from OC_Helper, adding the option for apps to register additional mimetype mappings
2013-08-07 16:38:57 +02:00
Jenkins for ownCloud
0deae7b86f
[tx-robot] updated from transifex
2013-08-07 09:04:32 -04:00
Georg Ehrke
dcc92445a0
allow permissions.user to be null as suggested by @butonic
2013-08-07 11:51:08 +02:00
kondou
1a4465f41d
Improve app-management
...
- Better error messages
- Translate untranslated strings
Basically picks non-app-dependency related stuff from #4017
2013-08-06 17:19:18 +02:00
Robin Appelman
3e7a86c6ec
remove deleted files while scanning
2013-08-06 15:59:06 +02:00
Robin Appelman
95a959b10b
merge master into doctrine-object
2013-08-06 15:43:58 +02:00
Bart Visscher
9b6357e6aa
Merge pull request #4291 from owncloud/schema
...
update DB Schema class
2013-08-05 11:29:52 -07:00
Georg Ehrke
af983b843d
fix merge conflicts
2013-08-05 14:27:38 +02:00
Georg Ehrke
554b1990e2
suppress is_file error msg
2013-08-05 14:23:30 +02:00
Thomas Müller
464afb5eca
use isset to prevent undefined index
2013-08-05 13:51:45 +02:00
Thomas Müller
d1a39ab01c
Merge pull request #4293 from owncloud/config-date
...
make log date configurable, default to iso 8601
2013-08-04 15:18:05 -07:00
Thomas Müller
b5f18111f4
Merge pull request #4308 from owncloud/fix-4194
...
Port log level filtering from OC_Log_Owncloud to OC_Log_Syslog.
2013-08-04 15:16:32 -07:00
Thomas Müller
0ae2bb77ba
Merge pull request #4228 from owncloud/fix-3836
...
app migrate: Use = instead of LIKE as described in the comment above.
2013-08-04 15:00:24 -07:00
Thomas Müller
33d78ab9c7
fixing PHPDoc
2013-08-04 23:13:34 +02:00
Thomas Müller
b716d035c3
fixing PHPDoc
2013-08-04 22:58:40 +02:00
Jan-Christoph Borchardt
5a77b67147
change long couldn't be determined string to question mark again
2013-08-04 16:27:17 +02:00
Andreas Fischer
e03d9e3aa0
Port log level filtering from OC_Log_Owncloud to OC_Log_Syslog.
2013-08-04 02:48:00 +02:00
Thomas Müller
b229381dda
initialize $plural_form_string with English default
2013-08-03 23:29:31 +02:00
Robin Appelman
3534c3b373
add reveal mimetype
2013-08-03 21:59:44 +02:00
Thomas Müller
e04bf0aaeb
unit tests for plural translations added
2013-08-02 23:08:41 +02:00
Thomas Müller
35a42da3ca
PHPDoc comments adjusted *partially* - fixing call to createPluralFormFunction
2013-08-02 21:46:25 +02:00
Thomas Müller
afc8ee721d
Merge pull request #4299 from owncloud/simplify-db-transaction
...
Simplify OC_DB transaction functions
2013-08-02 12:32:41 -07:00
Robin Appelman
2af27434a4
merge master into doctrine-object
2013-08-02 19:53:04 +02:00
Bart Visscher
fd317f599b
Simplify OC_DB transaction functions
2013-08-02 16:12:34 +02:00
Bart Visscher
5ffb8fac24
Use function to create schema manager
2013-08-02 16:02:33 +02:00
Thomas Müller
821a99b937
Merge pull request #4287 from Takuto88/language-config
...
Make default language configurable via config.php
2013-08-02 06:49:54 -07:00
Robin Appelman
258e54182a
remove invalid type hinting and cleanup namespaces a bit
2013-08-02 15:09:50 +02:00
Bernhard Posselt
f5c3a346b0
make log date configurable, default to iso 8601
2013-08-02 13:34:20 +02:00
Bart Visscher
59c5529a2b
Rename \OC\DB\Schema to \OC\DB\MDB2SchemaManager
2013-08-02 13:19:27 +02:00
Bart Visscher
9432885428
Change OC_DB_Schema to use DI for db connection object
2013-08-02 13:14:18 +02:00
Lennart Rosam
79351d064f
Make default language configurable via config.php
2013-08-02 09:41:31 +02:00
Jakob Sack
2f17dcdba8
Fix syntax error.
2013-08-01 21:46:52 +02:00
Jakob Sack
eee2c369d9
Fix copy and paste errors in l10n.php
2013-08-01 21:36:33 +02:00
Jakob Sack
9673a563b5
Create plural functions on the fly
2013-08-01 21:25:14 +02:00
kondou
1b567b2ad1
Don't throw a fatal, if is_file() parameter isn't
...
a 'valid path', but only a data/base64-string.
Related to #4283
2013-08-01 21:01:26 +02:00
Jakob Sack
495e44e76c
Update l10n.php to read plural_forms string
2013-08-01 19:54:51 +02:00
Jörn Friedrich Dreyer
eed63ae512
Merge pull request #4221 from owncloud/fix-3698
...
Fix calculating size for empty folders
2013-08-01 08:05:19 -07:00
Bjoern Schiessle
9253627327
cancel sharing if some users doesn't have a working encryption set-up.
2013-08-01 13:04:55 +02:00
Morris Jobke
30963d60bc
Merge pull request #4155 from owncloud/mdb2schemareader-booleans
...
Fix boolean support for xml schema definitions
2013-08-01 02:09:01 -07:00
Morris Jobke
0d69feb12e
Merge pull request #4208 from owncloud/scanner-php53
...
Fix scanner hooks throwing errors
2013-08-01 00:05:56 -07:00
Jenkins for ownCloud
b037f2dc6e
[tx-robot] updated from transifex
2013-08-01 01:57:04 -04:00
Bjoern Schiessle
99354f9a28
fix searchUsers() call in group.php
2013-07-31 11:34:22 +02:00
Morris Jobke
50101a85a6
Merge pull request #3982 from owncloud/test_lastinsertid
...
test lastinsertid
2013-07-31 00:03:29 -07:00
Jenkins for ownCloud
761f40328c
[tx-robot] updated from transifex
2013-07-31 02:01:45 -04:00
Thomas Müller
f35aadb576
Merge pull request #4227 from owncloud/fixing-testGetById-master
...
implement a platform independent version of basename
2013-07-30 08:39:53 -07:00
Georg Ehrke
93cdfc3e8a
Merge branch 'master' into oc_preview
2013-07-30 13:52:53 +02:00
Georg Ehrke
640253fa31
fix code style of try catch blocks
2013-07-30 13:43:15 +02:00
Georg Ehrke
d84d8f7108
fix merge conflicts
2013-07-30 12:35:39 +02:00
Georg Ehrke
ac6a3133ec
style fixes
2013-07-30 12:33:54 +02:00
Thomas Müller
17c36b5074
fixes #4026
2013-07-30 10:26:42 +02:00
Jenkins for ownCloud
88e1ccbce3
[tx-robot] updated from transifex
2013-07-30 01:57:50 -04:00
Thomas Müller
f658852276
Merge branch 'master' into fixing-testGetById-master
2013-07-30 00:37:05 +02:00
Thomas Müller
7425efade7
Merge branch 'master' into oc_preview
...
Conflicts:
3rdparty
lib/template.php
2013-07-30 00:34:36 +02:00
Thomas Müller
085fdfec2f
adding unit tests for OC_Util::basename
2013-07-29 23:32:03 +02:00
icewind1991
7c6246fa45
Merge pull request #4213 from owncloud/scanning-performance
...
Cache: don't check if the parent exists in the cache if we are already sure it does
2013-07-29 13:08:23 -07:00
Andreas Fischer
89f8f8e42d
app migrate: Use = instead of LIKE as described in the comment above.
...
The LIKE operator is not defined on integers (probably any non-text) columns
on PostgreSQL.
2013-07-29 18:41:22 +02:00
Robin Appelman
74c54587ec
better variable naming
2013-07-29 18:27:19 +02:00
Thomas Mueller
e2d3225e5a
implement a platform independent version of basename
2013-07-29 18:24:05 +02:00
Robin Appelman
dea3472ad7
remove unneeded 'use'
2013-07-29 17:04:28 +02:00
Robin Appelman
64774f30ba
dont need to explicitly pass by reference
2013-07-29 17:03:57 +02:00
Robin Appelman
d6c56b584a
make MDB2Schema reader non static
2013-07-29 16:33:00 +02:00
Robin Appelman
fbbe0ebe77
add function to get config object from OC_Config
2013-07-29 16:32:37 +02:00
Michael Gapczynski
1faac6108c
Use query to calculate folder size
2013-07-29 10:22:44 -04:00
Georg Ehrke
1e4ec2ac27
add class='preview-icon' to rows in file app that make use of previews
2013-07-29 15:47:17 +02:00
Georg Ehrke
e01bc7de98
Revert "OC\Preview - outsource static methods"
...
This reverts commit 14a35267c1
.
2013-07-29 14:51:06 +02:00
Georg Ehrke
65affdc9b3
make previews in files app smaller
2013-07-29 14:40:26 +02:00
Thomas Müller
954b5d9019
Merge pull request #4216 from owncloud/clean_php55_opcache
...
Also clean PHP 5.5 opcache
2013-07-29 04:40:01 -07:00
Jörn Friedrich Dreyer
05fa55f2eb
always return int
2013-07-29 02:17:09 +02:00
Michael Gapczynski
dd4e33fe6b
Fix calculating size for empty folders
2013-07-28 16:14:49 -04:00
Michael Gapczynski
c8e60900fc
Move check so the variable will never be undefined
2013-07-28 15:32:48 -04:00
kondou
8cd671c207
Also clean PHP 5.5 opcache
2013-07-28 16:33:03 +02:00
Jenkins for ownCloud
48621115c1
[tx-robot] updated from transifex
2013-07-28 01:58:28 -04:00
Robin Appelman
e1e7b6a940
Cache: don't check if the parent exists in the cache if we are already sure it does
2013-07-27 11:36:27 +02:00
Jenkins for ownCloud
fa35650e0a
[tx-robot] updated from transifex
2013-07-27 02:03:03 -04:00
Bart Visscher
d7916363e1
Make DB connection available to use for dependency injection
2013-07-26 20:36:48 +02:00
Robin Appelman
59bdba9bac
fix scanner hooks, cant use inside closures in php 5.3
2013-07-26 15:43:10 +02:00
Robin Appelman
88cc2ccb3b
use renamed constants
2013-07-25 16:14:46 +02:00
Robin Appelman
e2f04b3b42
use storage wrapper for quota instead of a filesystem proxy
2013-07-25 16:01:37 +02:00
Robin Appelman
5209cff371
add conveince function to wrap all storages
2013-07-25 16:01:05 +02:00
Robin Appelman
d042c8f166
use renamed constants
2013-07-25 16:00:48 +02:00
Robin Appelman
f4b6a8aa08
add option to wrap existing mounts
2013-07-25 16:00:24 +02:00
Robin Appelman
4e490b0688
fix getPermissionsCache for storage wrapper
2013-07-25 15:59:57 +02:00
Robin Appelman
1b50154c95
functions in OCP should be static
2013-07-25 15:25:17 +02:00
Andreas Fischer
75e93d041d
Merge pull request #3887 from owncloud/apc_user_cache
...
The APC User Cache doesn't return the cache_list anymore
* owncloud/apc_user_cache:
Add ACPu memory cache
2013-07-25 03:48:26 +02:00
Robin Appelman
cd8f0c21ce
add quota storage wrapper
2013-07-25 00:31:51 +02:00
Robin Appelman
10d3e63ce5
add quota streamwrapper that limits the amount of data that can be written to a stream
2013-07-25 00:31:51 +02:00
Robin Appelman
94560c68ba
rename constants
2013-07-25 00:29:27 +02:00
Bart Visscher
25003fb213
Add ACPu memory cache
2013-07-24 21:50:15 +02:00
icewind1991
ff86b6f134
Merge pull request #4183 from owncloud/fix-group-id
...
Fix group id naming fid->gid
2013-07-24 11:09:47 -07:00
icewind1991
1986416248
Merge pull request #3898 from owncloud/sabre-objecttree
...
WebDAV performance improvements
2013-07-24 10:46:27 -07:00
Bart Visscher
4e3bfd8ddd
Fix group id naming fid->gid
2013-07-24 17:54:31 +02:00
Jan-Christoph Borchardt
9b1866f1ac
merge master
2013-07-24 16:31:01 +02:00
Robin Appelman
ad266a4253
Merge branch 'master' into sabre-objecttree
2013-07-24 15:53:48 +02:00
Björn Schießle
651479322b
Merge pull request #4177 from owncloud/move_defaults_to_template_constructor
...
Move defaults to template constructor
2013-07-24 06:42:52 -07:00
icewind1991
98858e6f00
Merge pull request #3995 from owncloud/groups
...
Refactoring of group management code
2013-07-24 06:13:05 -07:00
Björn Schießle
75fd6d4fde
initialize OC_Defaults in template constructorX
2013-07-24 11:51:21 +02:00
Morris Jobke
2622839fcf
Merge pull request #4171 from owncloud/fix-config
...
Fix config
2013-07-24 00:48:43 -07:00
Thomas Müller
1a73e607bd
Merge branch 'master' into more-themable-strings
...
Conflicts:
lib/template.php
2013-07-24 09:35:33 +02:00
Thomas Müller
60ce492fac
Merge branch 'master' into groups
2013-07-24 01:11:12 +02:00
Thomas Müller
5fc0535f1b
Merge pull request #4090 from owncloud/cleanup-some-template-functions
...
Cleanup some template functions
2013-07-23 15:53:43 -07:00
Bart Visscher
793ff0fec9
Fix lastInsertId for OCI8 adapter
2013-07-23 22:16:04 +02:00
Robin Appelman
fb40d9e1e6
Merge branch 'master' into groups
2013-07-23 22:06:03 +02:00
Bart Visscher
7ad38535e5
Merge pull request #3392 from owncloud/googledrive
...
Switch to using Google Drive SDK, closes #2047
2013-07-23 12:23:08 -07:00
Jan-Christoph Borchardt
93b227d803
shorten wording on config directory errors
2013-07-23 18:41:00 +02:00
Bart Visscher
3eb5fff02a
Add documentation to OC\DB\adapter class
2013-07-23 18:09:42 +02:00
Bart Visscher
485e8ab0a5
ignore config read failures
2013-07-23 17:38:37 +02:00
Bart Visscher
5caa7576d4
Revert "fix failing master branch - Test_Config::testWriteData"
...
This reverts commit 8f93490ac4
.
2013-07-23 17:36:08 +02:00
Jörn Friedrich Dreyer
f7422ad132
Merge pull request #4150 from owncloud/better-error-handling
...
Better error handling
2013-07-23 08:30:02 -07:00
Jenkins for ownCloud
a94c55be98
[tx-robot] updated from transifex
2013-07-23 02:03:19 -04:00
Bart Visscher
179b42c56d
Fixed review issues
2013-07-22 23:04:14 +02:00
Robin Appelman
499a01f179
use ===
2013-07-22 17:41:33 +02:00
Jörn Friedrich Dreyer
cb4cf3e2f7
need to use \OC_Image to escape OCP namespace
2013-07-22 17:25:55 +02:00
Kondou
bc86ce00cf
Merge pull request #4154 from owncloud/return-ocl10n
...
return result from getL10N
2013-07-22 08:05:32 -07:00
Robin Appelman
b073a34e77
add support for the <primary/> element within field definitions
2013-07-22 16:25:07 +02:00
Robin Appelman
dc272e6e20
db: cast default values for boolean fields to booleans
2013-07-22 16:24:46 +02:00
Robin Appelman
d509a0c403
return result from getL10N
2013-07-22 15:52:02 +02:00
Georg Ehrke
f1e939e1a3
Merge branch 'master' into fix_return_value_search_principals
2013-07-22 15:30:57 +02:00
Bart Visscher
be7c613993
Fix errors from unit tests
2013-07-21 23:17:37 +02:00
Bart Visscher
b66c9098bd
Correct namespace of OC_ classes
2013-07-21 23:17:37 +02:00
Bart Visscher
000b5a801f
Move building error string to connection
2013-07-21 23:17:37 +02:00
Bart Visscher
de83bf98c7
Group database connection and schema function
2013-07-21 23:17:37 +02:00
Bart Visscher
013333fe6a
Cleanup: remove code for multiple database backends
2013-07-21 23:17:37 +02:00
Bart Visscher
3e0e2cfa19
Use $connection for schema changes
2013-07-21 23:17:37 +02:00
Bart Visscher
8a332cdc94
Simplify OC_DB transaction functions
2013-07-21 23:17:37 +02:00
Bart Visscher
19b9c89634
Move insertIfNotExist to Connection wrapper
...
Real implementation is in DB\Adapter* classes
2013-07-21 23:17:37 +02:00
Bart Visscher
58991150ab
Move query statement fixup handling to Connection wrapper
2013-07-21 23:17:37 +02:00
Bart Visscher
1d5d23a1de
Move limit/offset handling to Connection wrapper
2013-07-21 23:17:37 +02:00
Bart Visscher
a48e9c488b
Move prepared query cache handling to Connection wrapper
2013-07-21 23:17:36 +02:00
Bart Visscher
e3c5fea989
Move lastInsertId to adapter classes
2013-07-21 23:17:36 +02:00
Bart Visscher
cd98ff1eaf
Move db prefix handling to Connection wrapper
2013-07-21 23:17:36 +02:00
Bart Visscher
66a215651b
Create DB Connection wrapper and DB\Adapter* classes
2013-07-21 23:17:36 +02:00
Bart Visscher
62ce3a5613
Only close db connection when disconnecting, keep the connection object
2013-07-21 23:17:36 +02:00
Bart Visscher
25e3c9cbeb
Only display call trace in debug mode
2013-07-21 22:56:21 +02:00
Bart Visscher
aa22194a09
In debug mode uncaught exceptions should display a nice page
2013-07-21 22:40:35 +02:00
Bart Visscher
8c5df31c49
DRY use OC_Template::printErrorPage
2013-07-21 22:30:32 +02:00
Bart Visscher
df8ad46dae
Change exit calls to throwing an exception
...
This way the error won't be fatal in a unit test
2013-07-21 22:29:50 +02:00
Bart Visscher
6d39e0ad6f
Change to use !== and ===
2013-07-21 21:42:42 +02:00
Thomas Müller
01c39cf2be
fixing typos, PHPDoc and missing namespace \
2013-07-21 21:42:42 +02:00
Bart Visscher
3de8570e35
Move basic template functions to their own class
2013-07-21 21:42:42 +02:00
Bart Visscher
2593395561
Move template functions to there own file
2013-07-21 21:37:25 +02:00
Bart Visscher
5965f3ecea
Split locating JS and CSS files to their own class
2013-07-21 21:36:15 +02:00
Bart Visscher
37a731bcad
Merge pull request #4131 from owncloud/scanner-split
...
Remove scanner logic from ajax file and place it in it's own class
2013-07-21 11:32:11 -07:00
Bart Visscher
639097db59
Merge pull request #4092 from owncloud/base-better-errors
...
Generate better errors in base.php
2013-07-21 11:20:30 -07:00
Bart Visscher
9bf12da750
Merge pull request #3880 from owncloud/code-checker
...
Add classes replaced by the public api to the code checker
2013-07-21 11:19:20 -07:00
Morris Jobke
8f93490ac4
fix failing master branch - Test_Config::testWriteData
2013-07-21 11:13:29 +02:00
Morris Jobke
05c83a163a
add proper deprecated tag
2013-07-21 10:30:00 +02:00
Morris Jobke
647e0a0cba
Merge pull request #4118 from owncloud/remove-size-experiment
...
finally remove the file size obfuscation as it had more disadvantages.
2013-07-21 01:25:39 -07:00
Jan-Christoph Borchardt
48267b6e6c
add back public API function, but mark as deprecated
2013-07-20 01:15:12 +02:00
Bart Visscher
11f28d7880
Result of && if not the part
2013-07-19 17:37:42 +02:00
Bart Visscher
cbe1c22b5f
Correct casing of OC_User and pass through the params to getUsers
2013-07-19 17:32:31 +02:00
Robin Appelman
2b89b7c880
Split scanning logic from ajax file
2013-07-19 16:44:47 +02:00
Robin Appelman
b397df2022
add option to get the mountmanager from the filesystem
2013-07-19 16:33:00 +02:00
Robin Appelman
02cdd52fb0
Make Cache\Scanner an emitter
2013-07-19 16:32:43 +02:00
Bart Visscher
a22940d3cd
Add OC_L10N to public api
2013-07-19 11:40:11 +02:00
Bart Visscher
9379cbf602
Add OC_Image to public api
2013-07-19 11:23:47 +02:00
Jenkins for ownCloud
ae82f7fd17
[tx-robot] updated from transifex
2013-07-19 02:03:14 -04:00
Robin Appelman
a945ce908b
style fix
2013-07-19 02:23:57 +02:00
Bart Visscher
084cf0c202
Merge pull request #2221 from owncloud/doctrine
...
OC6: Implement Doctrine as the backend for OC_DB
2013-07-18 14:24:27 -07:00
Jan-Christoph Borchardt
48948ccf5f
finally remove the file size obfuscation as it had more disadvantages. I was wrong, sorry.
2013-07-18 22:15:26 +02:00
Bart Visscher
e2b6781cf9
Tweaks to the MDB2SchemaReader
2013-07-18 21:07:56 +02:00
Robin Appelman
e3ea3ed3c5
group: only pass backends that hold that specific group to the group constructor
2013-07-18 12:15:34 +02:00
Thomas Müller
3c6b205e37
Merge pull request #4099 from owncloud/fixing-unix-timestamp-mssql-master
...
fixing UNIX_TIMESTAMP() for mssql
2013-07-17 13:57:43 -07:00
Markus Goetz
3fd4ff79ee
Merge pull request #4042 from guruz/webdav_auth_check_existing
...
WebDAV Auth Connector: Check if already logged in
2013-07-17 05:00:59 -07:00
Markus Goetz
bf7514f76a
WebDAV Auth Connector: Check if already logged in
2013-07-17 13:51:15 +02:00
Thomas Mueller
24283425a6
fixing UNIX_TIMESTAMP() for mssql
2013-07-17 13:18:46 +02:00
Bart Visscher
5b60fad467
Display the exception error backtrace preformatted
2013-07-16 22:42:09 +02:00
Bart Visscher
971a3fd124
Early errors (in base.php) don't have session available
2013-07-16 22:37:32 +02:00
Bart Visscher
49fca86f3c
Cleanup error generation in base.php
2013-07-16 22:36:39 +02:00
Bart Visscher
7d86e262e1
Use autoloader for Patchwork/PHP/Shim/Normalizer
2013-07-16 22:32:04 +02:00
Jakob Sack
fb97600091
Fix an error jenkins found
2013-07-16 22:27:55 +02:00
icewind1991
e09ffb6f57
Merge pull request #2395 from owncloud/cache
...
Seperate the memory based cache and file based cache in OC_Cache
2013-07-16 13:25:07 -07:00
Jakob Sack
bb0c5bff5f
Add multiple plural forms to the php part
2013-07-16 22:16:53 +02:00
Bart Visscher
285f288cf3
Merge pull request #3959 from owncloud/buildNotExistingFileNameForView
...
Fix renaming using parenthesis
2013-07-16 12:06:53 -07:00
Robin Appelman
dc1a17b6f4
memcache: also switch factory to prefix
2013-07-16 16:08:37 +02:00
Robin Appelman
504089940d
mamcache: implement the ArrayAccess interface
2013-07-16 16:06:00 +02:00
Robin Appelman
69048ab71f
memchache: use prefix string instead of global flag
2013-07-16 15:42:40 +02:00
Robin Appelman
d82c1dfcab
split out memcache factory from base class
2013-07-16 15:34:22 +02:00
Robin Appelman
0ae8eb4f5e
Merge branch 'master' into cache
2013-07-16 15:22:47 +02:00
VicDeo
feb01847e7
Merge pull request #4076 from owncloud/fix_typos_kondou
...
Fix some typos
2013-07-16 01:23:16 -07:00
kondou
d9c697534d
Fix some typos
2013-07-16 06:01:26 +02:00
Bart Visscher
1a2db491af
Merge pull request #3962 from owncloud/move-error-handlers
...
Move error handlers from OC_Log to OC\Log\ErrorHandler
2013-07-15 09:23:37 -07:00
Georg Ehrke
63791e2d8d
return empty array instead of 0
2013-07-15 16:58:30 +02:00
Thomas Müller
6f5b0af67f
Merge pull request #3487 from owncloud/basic_auth_hack
...
Basic Auth is broken - again...
2013-07-14 14:56:45 -07:00
Georg Ehrke
1303fe0f9f
OC\Preview - set scale factor down to 2 and upscale cached preview - this got lost in a git stash ...
2013-07-14 00:00:10 +02:00
kondou
0d604a6c9a
Include $defaults
2013-07-13 18:44:36 +02:00
Bart Visscher
5549c77ec5
Merge branch 'master' into doctrine
...
Conflicts:
3rdparty
lib/db.php
lib/setup.php
tests/lib/db.php
tests/lib/dbschema.php
2013-07-13 12:01:14 +02:00
Georg Ehrke
21abebf96a
OC\Preview - proper handling of a cached previews's filename
2013-07-12 11:50:24 +02:00
Georg Ehrke
33ac4d93d6
OC\Preview - use !== and === instead of != and ==
2013-07-12 10:04:27 +02:00
Thomas Müller
24b4806af4
Merge branch 'master' into googledrive
2013-07-12 09:43:04 +02:00
icewind1991
3abe68176f
Merge pull request #3270 from owncloud/convert-oc_config
...
Convert OC_Config to object so it can be used for DI
2013-07-11 18:21:08 -07:00
Georg Ehrke
14a35267c1
OC\Preview - outsource static methods
2013-07-11 20:35:55 +02:00
Georg Ehrke
1ffc42b4be
OC\Preview - fix logic of two return values
2013-07-11 20:15:30 +02:00
Georg Ehrke
c6849bed9d
OC\Preview - remove unneeded comment
2013-07-11 20:02:59 +02:00
Georg Ehrke
1e8a646f51
OC\Preview - improve documentation
2013-07-11 19:21:37 +02:00
Georg Ehrke
7b2aa5d830
OC\Preview - use camelCase
2013-07-11 19:03:21 +02:00
Jan-Christoph Borchardt
aacca494c5
introduce shortname themable string and split from title, use for image alt text
2013-07-11 16:38:07 +02:00
Georg Ehrke
ec75e1904d
make jenkins happy
2013-07-11 12:28:41 +02:00
Georg Ehrke
53830f2f75
implement use of previews in sharing app
2013-07-11 11:58:52 +02:00
Georg Ehrke
06eca985ce
use $root instead of $path
2013-07-11 11:57:46 +02:00
Georg Ehrke
4bbbba1dc8
fix typo
2013-07-11 11:43:53 +02:00
Georg Ehrke
7f71ae60b0
improve validation of oc\preview and implement preview of error icon if something went wrong
2013-07-11 10:10:07 +02:00
Thomas Müller
d18bd17eb7
- eventsource.php: in case of potential CSRF attack we send an error message from the EventSource to the browser
...
- eventsource.js: handle undefined data on event
- update.js: in case of error we close the event source - advise the user to reload the page
- update.php: EventSource initialization is now done before we enter the maintenance mode in order to allow browser reload in case of possible CSRF attack
2013-07-11 00:27:21 +02:00
icewind1991
d134ba9a82
Merge pull request #3978 from owncloud/forwarding-emitter
...
add forwarding emitter for agregating multiple emitters
2013-07-10 10:38:28 -07:00
Morris Jobke
e2a5af4b9e
Merge pull request #3985 from owncloud/cookie-past2
...
apply @LukasReschke's cookie changes, hopefully finally fix #854
2013-07-10 09:08:01 -07:00
Georg Ehrke
5c31b843fc
fix typo
2013-07-10 18:04:13 +02:00
Georg Ehrke
f14b0fa6e0
update some comments in preview lib
2013-07-10 18:01:04 +02:00
Georg Ehrke
7091d7a6d2
clean up oc\preview
2013-07-10 17:57:04 +02:00
Robin Appelman
63df8f3500
reneme id to gid
2013-07-10 17:52:34 +02:00
Georg Ehrke
45d1691671
fix orientation before caching preview
2013-07-10 13:38:42 +02:00
Georg Ehrke
a357e5b284
merge conflicts ...
2013-07-10 12:41:53 +02:00
Georg Ehrke
cf449d42e8
properly encode path
2013-07-10 12:30:20 +02:00
Jörn Friedrich Dreyer
6a50848a6e
Merge pull request #3994 from owncloud/fix_oracle_setup
...
General setup fixes for Oracle
2013-07-10 01:02:52 -07:00
Jenkins for ownCloud
7ec6f3bde9
[tx-robot] updated from transifex
2013-07-10 02:20:59 +02:00
Robin Appelman
065bc96b02
more consistent naming
2013-07-10 02:17:24 +02:00
Robin Appelman
db14775536
consistent naming
2013-07-10 02:09:42 +02:00
Robin Appelman
4de5e292e5
search parameter is not optional
2013-07-10 02:01:34 +02:00
Robin Appelman
cc2818ba13
more consitency in hook names
2013-07-10 01:59:59 +02:00
Robin Appelman
c2bff656ff
cant use private members from closure in php <5.4
2013-07-10 01:55:38 +02:00
Robin Appelman
912b151561
use new group api as backend for the old api
2013-07-10 00:07:46 +02:00
Robin Appelman
a735105a22
update group management
2013-07-10 00:06:22 +02:00
Victor Dubiniuk
194ab11322
General fixes
2013-07-10 00:49:05 +03:00
mvn23
40879c6327
Merge pull request #3787 from mvn23/patch-1
...
Thanks @bartv2 and @bantu, merged and closed.
2013-07-09 08:21:07 -07:00
Thomas Tanghus
9e9c323acd
Set path in cookie.
2013-07-09 16:46:35 +02:00
Victor Dubiniuk
5a3fce12a4
Implement encodePath
2013-07-09 17:46:11 +03:00
Jan-Christoph Borchardt
d70d4f435e
apply @LukasReschke's cookie changes, hopefully finally fix #854
2013-07-09 15:00:36 +02:00
Michael Gapczynski
4feff3456b
Only emit permissions hook for files and and include path
2013-07-08 17:28:18 -04:00
icewind1991
af1c3dd4ce
Merge pull request #3963 from owncloud/update-logic-split
...
Move the upgrade logic to \OC\Updater
2013-07-08 12:38:39 -07:00
Robin Appelman
a0d5ba1167
fix typo
2013-07-08 21:13:31 +02:00
Bart Visscher
e7b882a4fc
stupid namespace
2013-07-08 18:29:43 +02:00
Bart Visscher
4a6803ef9d
Check if logger is set, also no need to return true
2013-07-08 18:26:11 +02:00
Bart Visscher
abe9abab99
Add constructor documentation
2013-07-08 18:01:32 +02:00
Bart Visscher
52553c64ed
Merge branch 'master' into convert-oc_config
...
Conflicts:
lib/config.php
2013-07-08 17:59:50 +02:00
Michael Gapczynski
5c2a0325ba
Add update permissions hook to sharing
2013-07-08 11:40:10 -04:00
Robin Appelman
4a4e139c83
forward previously registerd hooks
2013-07-08 16:54:26 +02:00
Robin Appelman
925d09cb0e
add forwarding emitter for agregating multiple emitters
2013-07-08 16:45:19 +02:00
Thomas Müller
02d2e41e04
Merge pull request #3954 from owncloud/update_insertifnotexist_and_test
...
fix insertIfNotExist return value, update doc and corresponding test
2013-07-08 07:17:45 -07:00
Thomas Müller
0365d244e0
Merge pull request #3946 from owncloud/fixing-3942-master
...
handle anonymous upload to reshared folder
2013-07-08 02:27:21 -07:00
Georg Ehrke
04292ff16c
implement use of preview icons in thrashbin app
2013-07-08 10:53:53 +02:00
Björn Schießle
9b9ea7cd8e
Merge https://github.com/owncloud/core/pull/3827
...
Squashed commit of the following:
commit eed4b49cebcbcc252a75ed85097730b73213b0da
Author: Björn Schießle <schiessle@owncloud.com>
Date: Mon Jul 8 10:03:23 2013 +0200
initialize OC_Defaults only once
commit bf6f07ccc8fb87535a069ca341789a590cb187ee
Author: Björn Schießle <schiessle@owncloud.com>
Date: Mon Jul 8 10:02:48 2013 +0200
link to doc in error messages
commit ea61ee60e06ee98f2671aec1fdaff666c50f47c2
Merge: e41af3d 3c1308f
Author: Björn Schießle <schiessle@owncloud.com>
Date: Thu Jul 4 11:10:56 2013 +0200
Merge branch 'master' into better-messages
commit e41af3d7bad26aa5ca9ab21ec7dcbadd3cfe5d4f
Author: Björn Schießle <schiessle@owncloud.com>
Date: Thu Jul 4 11:10:41 2013 +0200
move to non-static defaults.php
commit 9e4258b1905244bdf34943a825421f041cbed43d
Author: Björn Schießle <schiessle@owncloud.com>
Date: Tue Jul 2 10:32:13 2013 +0200
no sprintf here, lets t() handle it
commit fe1df349e248667a137f70d78b04225e5b42a111
Merge: d8f6859 cb5811b
Author: Björn Schießle <schiessle@owncloud.com>
Date: Mon Jul 1 11:13:38 2013 +0200
Merge branch 'master' into better-messages
commit d8f68595df2dc0e0917d916cbde511ec5333010b
Author: Björn Schießle <schiessle@owncloud.com>
Date: Mon Jul 1 11:10:57 2013 +0200
use document base url from defaults.php
commit 6c5403748a45717125a2aa375550f05646317d72
Merge: bea6b1c 7b0e3e6
Author: Björn Schießle <schiessle@owncloud.com>
Date: Mon Jul 1 11:00:15 2013 +0200
Merge branch 'master' into better-messages
commit bea6b1c8a0968846065b9153e0a3f46a4e3245ee
Author: Jan-Christoph Borchardt <hey@jancborchardt.net>
Date: Mon Jun 24 16:21:12 2013 +0200
link to docs in WebDAV message, ref #3791
commit 3119b364a1094769e711283d1ce9014505f64ab9
Author: Jan-Christoph Borchardt <hey@jancborchardt.net>
Date: Mon Jun 24 16:10:21 2013 +0200
link to docs in error messages, fix #3819
2013-07-08 10:07:57 +02:00
Jenkins for ownCloud
3cb4a72960
[tx-robot] updated from transifex
2013-07-08 02:09:41 +02:00
Jakob Sack
560839195e
make l10n libs capable of handling plural translations
2013-07-07 20:06:14 +02:00
Robin Appelman
9cd7ecd502
Updater: pass update url as argument to update check
2013-07-06 17:05:38 +02:00
Robin Appelman
58f473d734
split upgrade logic from ajax file
2013-07-06 17:00:00 +02:00
Jenkins for ownCloud
c8ad3df1fa
[tx-robot] updated from transifex
2013-07-06 02:08:38 +02:00
Thomas Müller
98da4bf704
removing unused getSharedItem()
2013-07-06 00:04:01 +02:00
Thomas Müller
dad91c156f
Merge branch 'master' into fixing-3942-master
...
Conflicts:
apps/files/ajax/upload.php
2013-07-06 00:02:11 +02:00
Thomas Müller
bc1c776642
Merge pull request #3951 from owncloud/fixing-3936-master
...
get the real physical folder name for anonymous upload
2013-07-05 14:43:47 -07:00
Bart Visscher
ab2037ab5d
Only change integer type when the length is set
2013-07-05 22:05:16 +02:00
Bart Visscher
b8a7e97301
Add comment to column definition
2013-07-05 21:42:37 +02:00
Bart Visscher
2db839c4d3
Move error handlers from OC_Log to OC\Log\ErrorHandler
2013-07-05 19:28:10 +02:00
Thomas Müller
e159cbf527
on reshares we now recursively move to the root of all reshares - therefore some code has been refactured and added as a new public function
2013-07-05 17:39:41 +02:00
Thomas Müller
f8dae11a23
Merge pull request #3957 from owncloud/config-glob-fail
...
OC_Config: handle failure of glob('*.config.php')
2013-07-05 07:38:04 -07:00
Jörn Friedrich Dreyer
212ea0508d
update comment
2013-07-05 15:39:57 +02:00
Bart Visscher
22c29eb64b
Fix renaming using parenthesis
2013-07-05 15:38:09 +02:00
Robin Appelman
c1cf829b9d
OC_Config: handle failure of glob('*.config.php')
2013-07-05 15:07:15 +02:00
Jörn Friedrich Dreyer
00987feda1
fix insertIfNotExist return value, update doc and corresponding test
2013-07-05 14:05:42 +02:00
Thomas Müller
352c1415be
proper fix for getting the shared item if no user is logged in
2013-07-05 13:45:21 +02:00
Bart Visscher
424ec94680
Make buildNotExistingFileName testable and write unittests
2013-07-05 13:03:01 +02:00
Jenkins for ownCloud
955646c461
[tx-robot] updated from transifex
2013-07-05 02:21:23 +02:00
Bart Visscher
ad9458e85d
Merge branch 'master' into convert-oc_config
...
Conflicts:
lib/config.php
2013-07-04 18:23:47 +02:00
Björn Schießle
3c1308fb6d
eddition string should be empty by default
2013-07-04 10:12:07 +02:00
Björn Schießle
6cfa016c39
add public api
2013-07-04 10:11:55 +02:00
Björn Schießle
3c691c9ec9
move to non-static OC_Defaults
...
Conflicts:
lib/mail.php
2013-07-04 10:11:16 +02:00
Björn Schießle
d46e62886a
Add init funtion to OC_Defaults to be able to wrap translatable strings
2013-07-04 10:09:28 +02:00
Bart Visscher
20be58bfdc
Merge pull request #3888 from owncloud/ocs_api_fixes
...
Ocs api fixes
2013-07-03 12:33:04 -07:00
Thomas Mueller
32d69f6889
Merge branch 'master' into convert-oc_config
2013-07-03 17:03:47 +02:00
kondou
aa7d8edd14
Suppress warning in setup if config doesn't exist
2013-07-03 16:00:23 +02:00
Björn Schießle
690323092e
don't run hooks for .part files
2013-07-03 10:11:50 +02:00
Björn Schießle
04e4d9580f
if a part file gets renamed to a real file, that this was the second step of a write operation, hence emit a write signal
2013-07-03 10:11:37 +02:00
Björn Schießle
4d4484fac1
Merge pull request #3870 from owncloud/reset_migration_status
...
introduce pre-disable-app hook and first usage in files_encryption
2013-07-02 07:26:48 -07:00
Thomas Müller
e789e05675
on unit test use @expectedException
...
some phpdoc added
2013-07-02 00:15:42 +02:00
Thomas Müller
fbdf46b76e
Merge pull request #3748 from owncloud/fixing-3740-master
...
in case $_SERVER['HTTP_HOST']) is not set let's return localhost - bette...
2013-07-01 15:08:08 -07:00
Thomas Müller
7d7a2ce317
use $_SERVER['SERVER_NAME'] in case $_SERVER['HTTP_HOST'] is not set
2013-07-01 23:51:43 +02:00
Thomas Müller
bb07dde988
Merge branch 'master' into convert-oc_config
2013-07-01 23:43:00 +02:00
Thomas Müller
c777026506
Merge pull request #3775 from owncloud/test_fixes_for_dbschema
...
use executeAudited, add table name to assert message, skip schema changi...
2013-07-01 14:38:28 -07:00
Thomas Müller
bf901eb52f
Merge pull request #3793 from owncloud/remove_unnecessary_exception_catch_block
...
remove unnecessary try catch blocks
2013-07-01 14:37:09 -07:00
Björn Schießle
cb5811bcf5
backport from pull request #3863
2013-07-01 11:12:18 +02:00
Björn Schießle
d8b3aee24e
set default logo claim to ''
2013-07-01 10:48:26 +02:00
Björn Schießle
d97d00fe0f
add logo claim to defaults.php
2013-07-01 10:48:13 +02:00
Björn Schießle
f622f35a1a
make mail footer aware of different themes
...
Conflicts:
lib/mail.php
2013-07-01 10:47:44 +02:00
Björn Schießle
68369ebb86
remove unneeded if condition
2013-07-01 10:46:49 +02:00
Björn Schießle
996b1e80c6
lib/defaults.php should only contain the default strings and read the other strings directly from the theme
2013-07-01 10:46:27 +02:00
Björn Schießle
23cc69b816
construct the foother in defaults.php so that we use always the same footer
...
Conflicts:
settings/templates/admin.php
2013-07-01 10:46:00 +02:00
Thomas Müller
121d3904c9
Merge pull request #3852 from owncloud/fixing-3830-master
...
session life time is now configurable and set to the same value
2013-06-30 14:41:51 -07:00
Robin Appelman
93750d2658
improved copy operation for objecttree
2013-06-30 19:41:38 +02:00
Robin Appelman
fe0de5fc10
improved move operation for sabre's objecttree
2013-06-30 18:37:47 +02:00
Robin Appelman
4e55d0ef9b
make use of the fact that rmdir is already recursive
2013-06-30 18:37:47 +02:00
Robin Appelman
2d1c6ae726
overwrite Sabre_DAV_ObjectTree with a faster getNodeForPath
2013-06-30 18:37:46 +02:00
Thomas Müller
8beec2015a
Merge pull request #3763 from owncloud/recursive-rmdir
...
Make rmdir recursive for local storage
2013-06-30 09:16:32 -07:00
Robin Appelman
d051d6f925
make rmdir recursive for mappellocal storage backend
2013-06-30 17:44:49 +02:00
Jenkins for ownCloud
4d74e8955f
[tx-robot] updated from transifex
2013-06-30 02:13:07 +02:00