| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| | |
New DateTimeFormatter class for dates in other timezones and languages
|
| | |
|
| |
| |
| |
| | |
Make DateTimeFormatter a service and adjust tests that have been inaccurate
|
| |
| |
| |
| | |
Fix #12227
|
|\ \
| | |
| | | |
Expose backend type via REST API
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This change will expose the user backend via the REST API which is a pre-requisite for https://github.com/owncloud/core/issues/12620.
For example:
````json
[{"name":"9707A09E-CA9A-4ABE-A66A-3F632F16C409","displayname":"Document Conversion User Account","groups":[],"subadmin":[],"quota":"default","storageLocation":"\/Users\/lreschke\/Programming\/core\/data\/9707A09E-CA9A-4ABE-A66A-3F632F16C409","lastLogin":0,"backend":"OCA\\user_ldap\\USER_LDAP"},{"name":"ED86733E-745C-4E4D-90CB-278A9737DB3C","displayname":"Hacker","groups":[],"subadmin":[],"quota":"default","storageLocation":"\/Users\/lreschke\/Programming\/core\/data\/ED86733E-745C-4E4D-90CB-278A9737DB3C","lastLogin":0,"backend":"OCA\\user_ldap\\USER_LDAP"},{"name":"71CDF45B-E125-450D-983C-D9192F36EC88","displayname":"admin","groups":[],"subadmin":[],"quota":"default","storageLocation":"\/Users\/lreschke\/Programming\/core\/data\/71CDF45B-E125-450D-983C-D9192F36EC88","lastLogin":0,"backend":"OCA\\user_ldap\\USER_LDAP"},{"name":"admin","displayname":"admin","groups":["admin"],"subadmin":[],"quota":"default","storageLocation":"\/Users\/lreschke\/Programming\/core\/data\/admin","lastLogin":"1418057287","backend":"OC_User_Database"},{"name":"test","displayname":"test","groups":[],"subadmin":[],"quota":"default","storageLocation":"\/Users\/lreschke\/Programming\/core\/data\/test","lastLogin":0,"backend":"OC_User_Database"}]
```
|
|\ \ \
| |_|/
|/| | |
Add dropTable to IDBConnection
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
|/| | |
Add getTagsForObjects in ITags
|
| | |
| | |
| | |
| | | |
Returns the list of tags that are set on the given object ids.
|
|\ \ \
| |_|/
|/| | |
Config cleanup - OC_Preferences refactoring
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* files_encryption
* files_versions
* files_trashbin
* tests
* status.php
* core
* server container
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
* keep old static methods - mapped to new ones and deprecated
* removed deleteApp, getUsers, getApps because they are unused
* make AllConfig unit tests more robust against not cleaned up environments
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
* introduce SystemConfig to avoid DI circle (used by database connection which is itself needed by AllConfig that itself contains the methods to access the config.php which then would need the database connection - did you get it? ;))
* use DI container and use that method in legacy code paths (for easier refactoring later)
* create and use getSystemConfig instead of query() in DI container
|
|\ \ \
| |/ /
|/| | |
Add a public api for apps to add mounts
|
| | | |
|
|\ \ \
| | | |
| | | | |
OCS API for server-to-server sharing
|
| | | | |
|
| |/ /
|/| |
| | | |
Otherwise the headers from `JSONResponse` are gone and the Content-Type of the response would be `text/html` instead of `application/json; charset=utf-8`. This leads to broken scripts since we set the `nosniff` tag, furthermore this is very bad from a security PoV.
|
| | | |
|
|\ \ \
| |/ /
|/| |
| | |
| | | |
owncloud/issue/6101-deprecate-namespaced-functions
Depcrate namespaced functions, since they can not be autoloaded
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
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)`.
|
| | | |
|
|/ / |
|
|\ \
| | |
| | |
| | |
| | | |
owncloud/issue/6101-remove-namespace-permission-constants
Issue/6101 remove namespace permission constants
|
| | | |
|
| |/ |
|
|/ |
|
|\
| |
| | |
Deprecate older API wrappers and calls
|
| |
| |
| |
| | |
Those old classes have now non-static pendants and can be deprecated IMHO.
|
| | |
|
|/ |
|
|\
| |
| | |
Add getLogger() to IServerContainer
|
| |
| |
| |
| | |
Makes my IDE complaining less ;-)
|
|/
|
|
|
|
|
| |
Public interface for hashing which also works with legacy ownCloud hashes and supports updating the legacy hash via a passed reference.
Follow-up of https://github.com/owncloud/core/pull/10219#issuecomment-61624662
Requires https://github.com/owncloud/3rdparty/pull/136
|
|\
| |
| | |
fix typo in content type for JSONResponse
|
| | |
|
|/ |
|
|\
| |
| | |
Fix the addHeader tag attributes text methods to not ignore the text parameter
|