Joas Schilling
50f85bfd1f
Check whether file exists before trying to touch() it
Local changes from d069ee8a8b
and 258ad38fd3
9 yıl önce
Joas Schilling
c5427da76d
Check return of disk_free_space before returning it
Local changes copied from ed83597371
and 25370fcb82
9 yıl önce
Joas Schilling
1062f4fe44
Check file existance in MappedLocal in hasUpdated()
Only fixed in Local by eeee9eacea
9 yıl önce
Joas Schilling
b886d3d645
Make MappedLocal::isLocal() true like for Local
Missed in 788c8540aa
9 yıl önce
Vincent Petry
e733d32eec
Merge pull request #12462 from owncloud/issue/12460-localstorage-buildpath
Introduce buildPath() in Storage\Local to reduce the difference to MappedLocal
9 yıl önce
Lukas Reschke
e35feadac2
Pass \OC::$WEBROOT to the ctr
9 yıl önce
Lukas Reschke
fef32e63dd
Remove redundant code
9 yıl önce
Lukas Reschke
d197f43475
Use server container
9 yıl önce
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)`.
9 yıl önce
Joas Schilling
0ed86c0993
Move OC_USER_BACKEND_* constants to OC_User_Backend class
9 yıl önce
Joas Schilling
24511c6f00
Move OC_GROUP_BACKEND_* constants to OC_Group_Backend class
9 yıl önce
Joas Schilling
a2172786a8
Merge pull request #12449 from owncloud/issue/12444-namespace-exceptions
Issue/12444 namespace exceptions
9 yıl önce
Morris Jobke
f52ba9c73c
Merge pull request #12418 from owncloud/delete_previews
delete old previews
9 yıl önce
Joas Schilling
4f1bbc4fd5
Remove unused 2nd parameter of buildPath() and rename to getSourcePath()
9 yıl önce
Joas Schilling
20237fba47
Introduce getSourcePath() in Storage\Local to reduce the difference to MappedLocal
9 yıl önce
Vincent Petry
a74822279c
Merge pull request #12464 from owncloud/cache-available-languages
Cache results of available languages
9 yıl önce
Joas Schilling
ea3780f911
Replace exception with standard exception
9 yıl önce
Joas Schilling
e1f3abf7a5
Correctly namespace and autoload DatabaseException
9 yıl önce
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
9 yıl önce
Jenkins for ownCloud
87a2aabb98
[tx-robot] updated from transifex
9 yıl önce
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...
9 yıl önce
Vincent Petry
e306b588d2
Merge pull request #12433 from owncloud/appstore
added comment that App Store is disabled for EE
9 yıl önce
Vincent Petry
cc67e0fe5f
Merge pull request #12304 from oparoz/patch-1
Use a more universal shebang
9 yıl önce
Morris Jobke
60f7a86323
Merge pull request #12448 from owncloud/no503forRoot
Don't show favicon to prevent iteration through subfolders
9 yıl önce
Thomas Müller
bb240209c6
Merge pull request #12453 from owncloud/kill-session-global
remove deprecated \OC:$session
9 yıl önce
Thomas Müller
5097d4dc05
remove deprecated \OC:$session
9 yıl önce
Joas Schilling
8e28bf012c
Move constants from GET_TYPE to OC\Files so they can be autoloaded
9 yıl önce
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.
9 yıl önce
Joas Schilling
3338eede3c
Correctly namespace DatabaseSetupException
9 yıl önce
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
9 yıl önce
Robin Appelman
e8cbb8e2d8
Add js unit test
9 yıl önce
Robin Appelman
9c86665ef4
Dont show the delete button for selected files if one of the selected files is not deletable
9 yıl önce
Robin Appelman
4321d7522e
Check if files are deletable before trying to delete them
9 yıl önce
Morris Jobke
4ed0a418a0
Merge pull request #12414 from owncloud/delay-autoconfig-kill-2
autoconfig.php only to be deleted on successful installation
9 yıl önce
Joas Schilling
a109f94fee
Depcrate namespaced functions, since they can not be autoloaded
9 yıl önce
Bjoern Schiessle
a90606fb14
change private/public key names for consistency reasons
9 yıl önce
Bjoern Schiessle
266f1a2afa
harmonize copyright notice
9 yıl önce
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
9 yıl önce
Lukas Reschke
c749570a06
Merge pull request #12411 from owncloud/unknown-command-windows
Replace some more "command -v" calls with the Helper method
9 yıl önce
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...
9 yıl önce
Morris Jobke
60e4aa120f
Merge pull request #12350 from mprokop/link_expiration
fix calculation of expiration date if there is a default expiration date...
9 yıl önce
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
10 yıl önce
Morris Jobke
c5fa8f1bdc
Merge pull request #12421 from owncloud/issue/6101-remove-namespace-permission-constants
Issue/6101 remove namespace permission constants
9 yıl önce
Jenkins for ownCloud
3766d98df6
[tx-robot] updated from transifex
9 yıl önce
Carla Schroder
06041e3323
added comment that App Store is disabled for EE
9 yıl önce
Morris Jobke
e9696a8c9a
Merge pull request #12420 from owncloud/sqlite-wal-2
adding new config parameter for sqlite to specify the journal mode
9 yıl önce
Carla Schroder
770eea7b56
Markup corrections
9 yıl önce
Carla Schroder
a9ad77fc29
Add notes that SQLite is CE only
9 yıl önce
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
9 yıl önce
Thomas Müller
5d4b7e0e2b
fix failing unit test for the temp manager - concurrently executed unit tests influence each other
9 yıl önce