Joas Schilling
1062f4fe44
Check file existance in MappedLocal in hasUpdated()
Only fixed in Local by eeee9eacea
11 years ago
Joas Schilling
b886d3d645
Make MappedLocal::isLocal() true like for Local
Missed in 788c8540aa
11 years ago
Vincent Petry
e733d32eec
Merge pull request #12462 from owncloud/issue/12460-localstorage-buildpath
Introduce buildPath() in Storage\Local to reduce the difference to MappedLocal
11 years ago
Lukas Reschke
e35feadac2
Pass \OC::$WEBROOT to the ctr
11 years ago
Lukas Reschke
fef32e63dd
Remove redundant code
11 years ago
Lukas Reschke
d197f43475
Use server container
11 years ago
Lukas Reschke
048139074d
Add functions to modify cookies to response class
Currently there is no AppFramework way to modify cookies, which makes it unusable for quite some use-cases or results in untestable code.
This PR adds some basic functionalities to add and invalidate cookies.
Usage:
```php
$response = new TemplateResponse(...);
$response->addCookie('foo', 'bar');
$response->invalidateCookie('foo');
$response->addCookie('bar', 'foo', new \DateTime('2015-01-01 00:00'));
```
Existing cookies can be accessed with the AppFramework using `$this->request->getCookie($name)`.
11 years ago
Joas Schilling
0ed86c0993
Move OC_USER_BACKEND_* constants to OC_User_Backend class
11 years ago
Joas Schilling
24511c6f00
Move OC_GROUP_BACKEND_* constants to OC_Group_Backend class
11 years ago
Joas Schilling
a2172786a8
Merge pull request #12449 from owncloud/issue/12444-namespace-exceptions
Issue/12444 namespace exceptions
11 years ago
Morris Jobke
f52ba9c73c
Merge pull request #12418 from owncloud/delete_previews
delete old previews
11 years ago
Joas Schilling
4f1bbc4fd5
Remove unused 2nd parameter of buildPath() and rename to getSourcePath()
11 years ago
Joas Schilling
20237fba47
Introduce getSourcePath() in Storage\Local to reduce the difference to MappedLocal
11 years ago
Vincent Petry
a74822279c
Merge pull request #12464 from owncloud/cache-available-languages
Cache results of available languages
11 years ago
Joas Schilling
ea3780f911
Replace exception with standard exception
11 years ago
Joas Schilling
e1f3abf7a5
Correctly namespace and autoload DatabaseException
11 years ago
Vincent Petry
51190f711d
Merge pull request #12451 from owncloud/issue/6101-remove-gettype-class
Move constants from GET_TYPE to OC\Files so they can be autoloaded
11 years ago
Jenkins for ownCloud
87a2aabb98
[tx-robot] updated from transifex
11 years ago
Lukas Reschke
b20d698ebd
Cache results of available languages
This function is about 8 times calles for every single page call, when caching this variable I was able to gain a small performance improvement from 20,512 µs to 630 µs profiled with xhprof
Surely, this is no gigantic gain but if we would do that for every function out there...
11 years ago
Vincent Petry
e306b588d2
Merge pull request #12433 from owncloud/appstore
added comment that App Store is disabled for EE
11 years ago
Vincent Petry
cc67e0fe5f
Merge pull request #12304 from oparoz/patch-1
Use a more universal shebang
11 years ago
Morris Jobke
60f7a86323
Merge pull request #12448 from owncloud/no503forRoot
Don't show favicon to prevent iteration through subfolders
11 years ago
Thomas Müller
bb240209c6
Merge pull request #12453 from owncloud/kill-session-global
remove deprecated \OC:$session
11 years ago
Thomas Müller
5097d4dc05
remove deprecated \OC:$session
11 years ago
Joas Schilling
8e28bf012c
Move constants from GET_TYPE to OC\Files so they can be autoloaded
11 years ago
Lukas Reschke
8af346a84d
Don't show favicon to prevent iteration through subfolders
The codepath for generating the favicons iterates through subnodes and if one of those nodes is unavailable is throwing a 503 exception. Since these favicons don't have any use except of "making a tool for developers looking nicer" I consider it feasible to remove them.
11 years ago
Joas Schilling
3338eede3c
Correctly namespace DatabaseSetupException
11 years ago
Robin Appelman
a2457b5fb9
Merge pull request #6989 from AdamWill/google-1
Migrate Google Drive external storage app to v1.0.6-beta of the google-api-php-client library
11 years ago
Robin Appelman
e8cbb8e2d8
Add js unit test
11 years ago
Robin Appelman
9c86665ef4
Dont show the delete button for selected files if one of the selected files is not deletable
11 years ago
Robin Appelman
4321d7522e
Check if files are deletable before trying to delete them
11 years ago
Morris Jobke
4ed0a418a0
Merge pull request #12414 from owncloud/delay-autoconfig-kill-2
autoconfig.php only to be deleted on successful installation
11 years ago
Joas Schilling
a109f94fee
Depcrate namespaced functions, since they can not be autoloaded
11 years ago
Bjoern Schiessle
a90606fb14
change private/public key names for consistency reasons
11 years ago
Bjoern Schiessle
266f1a2afa
harmonize copyright notice
11 years ago
Bjoern Schiessle
fd86d76f98
new folder structure for keys
all keys are now in files_encryption/key/path_to_file/filename/
share keys are named: user.shareKey
file key is named: fileKey
11 years ago
Lukas Reschke
c749570a06
Merge pull request #12411 from owncloud/unknown-command-windows
Replace some more "command -v" calls with the Helper method
11 years ago
Morris Jobke
1da46b1a58
Merge pull request #12438 from owncloud/jenkins-no-new-session-ocs-api
because OC_User::login will create a new session we shall only try to lo...
11 years ago
Morris Jobke
60e4aa120f
Merge pull request #12350 from mprokop/link_expiration
fix calculation of expiration date if there is a default expiration date...
11 years ago
Thomas Müller
320a3c3784
because OC_User::login will create a new session we shall only try to login if user and pass are set
ensure to never destroy an existing session
12 years ago
Morris Jobke
c5fa8f1bdc
Merge pull request #12421 from owncloud/issue/6101-remove-namespace-permission-constants
Issue/6101 remove namespace permission constants
11 years ago
Jenkins for ownCloud
3766d98df6
[tx-robot] updated from transifex
11 years ago
Carla Schroder
06041e3323
added comment that App Store is disabled for EE
11 years ago
Morris Jobke
e9696a8c9a
Merge pull request #12420 from owncloud/sqlite-wal-2
adding new config parameter for sqlite to specify the journal mode
11 years ago
Carla Schroder
770eea7b56
Markup corrections
11 years ago
Carla Schroder
a9ad77fc29
Add notes that SQLite is CE only
11 years ago
Thomas Müller
e6a7022037
Merge pull request #12410 from owncloud/no_session_for_public_share_key
don't store private public-share-key in session
11 years ago
Thomas Müller
5d4b7e0e2b
fix failing unit test for the temp manager - concurrently executed unit tests influence each other
11 years ago
Joas Schilling
0274dcba57
Replace some more "command -v" calls with the Helper method
11 years ago
Joas Schilling
2c39aec8cb
Replace deprecated constant with new class constant
11 years ago