aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* [tx-robot] updated from transifexJenkins for ownCloud2014-12-254-0/+6
|
* [tx-robot] updated from transifexJenkins for ownCloud2014-12-246-0/+24
|
* Intelligent containerBernhard Posselt2014-12-236-14/+374
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * resolves dependencies by type hint or variable name * simpler route.php * implementation of https://github.com/owncloud/core/issues/12829 Generates and injects parameters automatically. You can now build full classes like $c->query('MyClassName') without having to register it as a service. The resolved object's instance will be saved by using registerService. If a constructor parameter is not type hinted, the parameter name will be taken. Therefore the following two implementations are identical: class Class1 { function __construct(MyClassName $class) class Class1 { function __construct($MyClassName) This makes it possible to also inject primitive values such as strings, arrays etc. In addition if the query could not be resolved, a `QueryException` is now thrown Routes can now be returned as an array from `routes.php` and an `appinfo/application.php` is optional Old commit messages: make it possible to return the routes instead of having to intialize the application try to get the controller by convention add first implementation of automatic resolve add another test just to be sure store the resolved object more tests add phpdoc to public app.php method use the same variable for the public app.php method deprecate old methods and add services for public interfaces deprecated getServer method disallow private api injection for apps other than core or settings (settings should be an app goddamnit :D) register userid because its such an often used variable fix indention and leading slash use test namespace add deprecation reasons, remove private api usage checks and remove deprecation from getServer() add additional public interfaces add public interface for rootfolder fix syntax error remove deprecation from methods where no alternative is there yet remove deprecated from method which has no alternative add timezone public service for #12881 add another deprecation hint move deprecation into separate branch remove dead comment first try to get the namespace from the info.xml, if it does not exist, just uppercase the first letter also trim the namespace name add an interface for timefactory move timefactory to public and add icontrollermethodreflector keep core interface fix copyright date in headers
* [tx-robot] updated from transifexJenkins for ownCloud2014-12-232-2/+6
|
* Merge pull request #12969 from owncloud/clarify-docsMorris Jobke2014-12-222-4/+4
|\ | | | | Clarify return values
| * Fix typoLukas Reschke2014-12-192-2/+2
| |
| * Clarify return valuesLukas Reschke2014-12-192-2/+2
| | | | | | | | This function returns `null` when no user is logged-in.
* | Merge pull request #12983 from owncloud/root-ifaceMorris Jobke2014-12-222-1/+35
|\ \ | | | | | | Add an interface for the root folder so apps have an interface to deal with storage
| * | add an interface for the root folder so apps have an interface to deal with ↵Bernhard Posselt2014-12-212-1/+35
| | | | | | | | | | | | | | | | | | | | | | | | storage fix comments and newline add newline
* | | [tx-robot] updated from transifexJenkins for ownCloud2014-12-226-2/+30
| | |
* | | Merge pull request #12978 from owncloud/fix-support-claimThomas Müller2014-12-211-1/+1
|\ \ \ | | | | | | | | Change support message to be more explicit about the enterprise edition
| * | | Change support message to be more explicit about the enterprise editionMorris Jobke2014-12-201-1/+1
| | | |
* | | | Merge pull request #12982 from owncloud/timefac-ifaceThomas Müller2014-12-212-1/+41
|\ \ \ \ | | | | | | | | | | Add an interface for the timefactory class
| * | | | add an interface for the timefactory classBernhard Posselt2014-12-202-1/+41
| | | | | | | | | | | | | | | | | | | | fix indention
* | | | | [tx-robot] updated from transifexJenkins for ownCloud2014-12-2112-4/+60
| |_|/ / |/| | |
* | | | [tx-robot] updated from transifexJenkins for ownCloud2014-12-204-0/+34
| |/ / |/| |
* | | Fix Undefined variable: result at tags.php#231derkostka2014-12-191-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix app":"PHP","message":"Undefined variable: result at \/var\/www\/owncloud\/lib\/private\/tags.php#231" by moving the function call into the respective loop Adjust indentation Do it right - indentation sorry, this is my first one
* | | Merge pull request #12749 from owncloud/server2server-sharing-ngBjörn Schießle2014-12-197-77/+307
|\ \ \ | | | | | | | | server to server sharing next generation
| * | | Next step in server-to-server sharing next generation, see #12285Bjoern Schiessle2014-12-197-77/+307
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Beside some small improvements and bug fixes this will probably the final state for OC8. To test this you need to set up two ownCloud instances. Let's say: URL: myPC/firstOwnCloud user: user1 URL: myPC/secondOwnCloud user: user2 Now user1 can share a file with user2 by entering the username and the URL to the second ownCloud to the share-drop-down, in this case "user2@myPC/secondOwnCloud". The next time user2 login he will get a notification that he received a server-to-server share with the option to accept/decline it. If he accept it the share will be mounted. In both cases a event will be send back to user1 and add a notification to the activity stream that the share was accepted/declined. If user1 decides to unshare the file again from user2 the share will automatically be removed from the second ownCloud server and user2 will see a notification in his activity stream that user1@myPC/firstOwnCloud has unshared the file/folder from him.
* | | | Merge pull request #12101 from owncloud/ldap_split_mappingblizzz2014-12-192-0/+2
|\ \ \ \ | |/ / / |/| | | Ldap split mapping from Access superclass
| * | | Split mapping from Access and Helper classes into it's own. Fully test them, ↵Arthur Schiwon2014-12-192-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | too. remove unused methods split mapping methods off from Access class fix DB query handling move 'clear mapping' methods from static helper to new mapping class add tests test directly with DB finishing tests and fix return value from setDNbyUUID add corresponding class for groups and make abstract test class neutral. helper tests is now obsolete as the tested functions were moved to the new mapper class. add missing info to PHPDoc add unmap method fix namespaces fix test inheritance PHPDoc and a small code restructure for scrutinizer, no effective changes PostgreSQL does not accept LIMIT in DELETE queries phpdoc fixes, no code changes
* | | | Merge pull request #12923 from owncloud/ultra-slim-version-of-incognito-modeLukas Reschke2014-12-192-0/+12
|\ \ \ \ | |_|_|/ |/| | | Add ultra-slim hack for incognito mode
| * | | Add ultra-slim hack for incognito modeLukas Reschke2014-12-172-0/+12
| | | | | | | | | | | | | | | | As discussed at https://github.com/owncloud/core/pull/12912#issuecomment-67391155
* | | | Merge pull request #12956 from owncloud/jenkins-user-backend-namesThomas Müller2014-12-196-6/+65
|\ \ \ \ | |_|/ / |/| | | [jenkins only] introduce names for user backends - IUserBackend
| * | | introduce names for user backends - IUserBackendMorris Jobke2014-12-196-6/+65
| | | | | | | | | | | | | | | | * LDAP with multiple servers also proved backendName
* | | | Merge pull request #12954 from owncloud/hhvm-apc-clearLukas Reschke2014-12-191-1/+1
|\ \ \ \ | | | | | | | | | | HHVM: In APC cache clear, only request the cache key in APCIterator.
| * | | | HHVM: In APC cache clear, only request the cache key in APCIterator.Andreas Fischer2014-12-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The default value of the $format parameter of the APCIterator constructur is APC_ITER_ALL which instructs the iterator to provide all available information on cache values being iterated over. Only the key value is necessary for matching and deletion via apc_delete(), though. This prevents a "Format values FILENAME, DEVICE, INODE, MD5, NUM_HITS, MTIME, CTIME, DTIME, ATIME, REFCOUNT not supported yet." notice on HHVM.
* | | | | Merge pull request #12918 from owncloud/use-uid-instead-of-login-nameMorris Jobke2014-12-191-1/+1
|\ \ \ \ \ | | | | | | | | | | | | Return UID instead of login name
| * | | | | Return UID instead of login nameLukas Reschke2014-12-171-1/+1
| | |_|_|/ | |/| | | | | | | | | | | | | Without this OCS on LDAP is broken for API requests coming via Basic Authentication...
* | | | | Merge pull request #12865 from owncloud/files-tags-webdavMorris Jobke2014-12-195-7/+431
|\ \ \ \ \ | | | | | | | | | | | | Returns tags through WebDAV
| * | | | | Fix code style issues for tags pluginVincent Petry2014-12-183-6/+4
| | | | | |
| * | | | | Remove obsolete methodVincent Petry2014-12-181-8/+0
| | | | | |
| * | | | | Returns and update tags through WebDAV PROPFIND and PROPPATCHVincent Petry2014-12-175-7/+441
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added oc:tags and oc:favorites in PROPFIND response. It is possible to update them with PROPPATCH. These properties are optional which means they need to be requested explicitly
* | | | | | [tx-robot] updated from transifexJenkins for ownCloud2014-12-196-10/+18
| |_|/ / / |/| | | |
* | | | | Merge pull request #12748 from owncloud/redis_cacheMorris Jobke2014-12-192-1/+97
|\ \ \ \ \ | | | | | | | | | | | | Add Redis cache implementation, prefer over memcached, tests & config sample doc
| * | | | | Add Redis cache implementation, prefer over memcached, tests & config sampleJörn Friedrich Dreyer2014-12-102-1/+97
| | | | | |
* | | | | | Merge pull request #12879 from owncloud/mountconfigMorris Jobke2014-12-189-19/+111
|\ \ \ \ \ \ | | | | | | | | | | | | | | Add mount specific options
| * | | | | | Allow disabling previews per mountRobin Appelman2014-12-171-0/+5
| | | | | | |
| * | | | | | Add getMountPoint to FileInfoRobin Appelman2014-12-176-17/+66
| | | | | | |
| * | | | | | Load mount specific options from the mount configRobin Appelman2014-12-172-2/+40
| | |_|/ / / | |/| | | |
* | | | | | Merge pull request #12759 from owncloud/core-reduce-js-and-cssJörn Friedrich Dreyer2014-12-182-11/+25
|\ \ \ \ \ \ | | | | | | | | | | | | | | make sure styles and scripts are only loaded once
| * | | | | | load showpassord.js conditionally in the template only if neededThomas Müller2014-12-161-2/+0
| | | | | | |
| * | | | | | make sure styles and scripts are only loaded onceThomas Müller2014-12-161-9/+25
| | | | | | |
* | | | | | | Merge pull request #12945 from owncloud/hhvm-imageMorris Jobke2014-12-181-1/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | HHVM: Do not call filesize(null), this function expects a string.
| * | | | | | | Do not call filesize(null), this function expects a string.Andreas Fischer2014-12-181-1/+1
| | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | filesize(null) yields an int on HHVM and thus exif_imagetype(null) is called.
* | | | | | | Merge pull request #12940 from drarko/masterMorris Jobke2014-12-181-1/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Fix extra quotes in custom tags in header
| * | | | | | | Fix extra quotes in custom tags in headerdrarko2014-12-181-1/+1
| |/ / / / / / | | | | | | | | | | | | | | Fix #12939
* | | | | | | Merge pull request #12907 from owncloud/delete-invalid-external-shareRobin Appelman2014-12-181-0/+5
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | Fix deleting invalid s2s shares
| * | | | | | Movable mountpoints are always deletableRobin Appelman2014-12-171-0/+5
| | |/ / / / | |/| | | |
* | | | | | [tx-robot] updated from transifexJenkins for ownCloud2014-12-1810-8/+52
| | | | | |