summaryrefslogtreecommitdiffstats
path: root/lib/public
Commit message (Collapse)AuthorAgeFilesLines
* basic lockdown logicRobin Appelman2016-11-161-0/+32
| | | | Signed-off-by: Robin Appelman <icewind@owncloud.com>
* Update the since version to 11.0.0Joas Schilling2016-11-166-51/+51
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix activity manager testsJoas Schilling2016-11-161-2/+0
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Allow combining eventsJoas Schilling2016-11-161-0/+12
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Allow to register ProvidersJoas Schilling2016-11-162-0/+52
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add ROS and icon support to the eventsJoas Schilling2016-11-161-0/+84
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Validate the input into Event alreadyJoas Schilling2016-11-161-0/+21
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Allow to register settings/types via info.xmlJoas Schilling2016-11-162-0/+99
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Allow to register activity filters via info.xmlJoas Schilling2016-11-163-21/+124
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #2144 from nextcloud/fix_1303Morris Jobke2016-11-151-1/+0
|\ | | | | Do not cache version info in the session
| * Fix testsRoeland Jago Douma2016-11-151-1/+0
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | @since 9.2.0 to @since 11.0.0Roeland Jago Douma2016-11-1525-73/+73
|/ | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* fix phpdocRobin Appelman2016-11-091-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Use a php class for the definitions to avoid loading problemsJoas Schilling2016-11-092-247/+296
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #1998 from nextcloud/share-by-mail-notificationBjörn Schießle2016-11-082-0/+20
|\ | | | | add share by mail activity
| * add new definitionBjoern Schiessle2016-11-081-0/+19
| | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
| * add activity for share by mailBjoern Schiessle2016-11-081-0/+1
| | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | refactoring code to reduce cyclomatic complexitDonquixote2016-11-072-10/+5
|/ | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Moved over files_versionsRoeland Jago Douma2016-11-031-1/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move Ipreview to more of DI thingyRoeland Jago Douma2016-11-031-0/+25
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Adjust tests and DI for Share.phpLukas Reschke2016-11-021-1/+9
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* bring back remember-meChristoph Wurst2016-11-021-1/+1
| | | | | | | | | | * try to reuse the old session token for remember me login * decrypt/encrypt token password and set the session id accordingly * create remember-me cookies only if checkbox is checked and 2fa solved * adjust db token cleanup to store remembered tokens longer * adjust unit tests Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* add method to check if a share provider for a given type is loadedBjoern Schiessle2016-11-011-0/+8
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Stricter signatureRoeland Jago Douma2016-10-312-4/+6
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add getShareTypesInFolder to optimize folder listeningRobin Appelman2016-10-313-0/+28
| | | | Signed-off-by: Robin Appelman <icewind@owncloud.com>
* Merge pull request #1937 from nextcloud/ros-for-notification-messageRoeland Jago Douma2016-10-311-0/+21
|\ | | | | Allow rich object strings in messages as well
| * Allow rich object strings in messages as wellJoas Schilling2016-10-311-0/+21
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Removed depreacted functions (since 6.0)Roeland Jago Douma2016-10-291-92/+0
|/ | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move away from OC_L10NRoeland Jago Douma2016-10-281-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Proper DI of configRoeland Jago Douma2016-10-281-3/+2
| | | | | | * Fixed comments Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* introduce callForSeenUsers and countSeenUsers (#26361)Jörn Friedrich Dreyer2016-10-281-0/+15
| | | | | | | | | | * introduce callForSeenUsers and countSeenUsers * add tests * oracle should support not null on clob * since 9.2.0
* Merge pull request #1800 from nextcloud/nextcloud-rich-object-stringsMorris Jobke2016-10-274-0/+319
|\ | | | | Nextcloud rich object strings
| * Move federated share notifications to ROSJoas Schilling2016-10-201-0/+19
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Allow rich object subjects for NotificationsJoas Schilling2016-10-201-0/+21
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Add Rich Object Definitions and a validatorJoas Schilling2016-10-203-0/+279
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #1738 from ↵Morris Jobke2016-10-262-0/+50
|\ \ | | | | | | | | | | | | nextcloud/comments-provide-displaynames-with-mentions comment mentions: show displayname not uid
| * | resolve displayname via manager and registerable resolversArthur Schiwon2016-10-191-0/+28
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | move mention extraction to (I)Comment and report mentions via DAVArthur Schiwon2016-10-191-0/+22
| |/ | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Merge pull request #1871 from nextcloud/use-csp-noncesMorris Jobke2016-10-252-2/+24
|\ \ | | | | | | Use CSP nonces
| * | Add support for CSP noncesLukas Reschke2016-10-242-2/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CSP nonces are a feature available with CSP v2. Basically instead of saying "JS resources from the same domain are ok to be served" we now say "Ressources from everywhere are allowed as long as they add a `nonce` attribute to the script tag with the right nonce. At the moment the nonce is basically just a `<?php p(base64_encode($_['requesttoken'])) ?>`, we have to decode the requesttoken since `:` is not an allowed value in the nonce. So if somebody does on their own include JS files (instead of using the `addScript` public API, they now must also include that attribute.) IE does currently not implement CSP v2, thus there is a whitelist included that delivers the new CSP v2 policy to newer browsers. Check http://caniuse.com/#feat=contentsecuritypolicy2 for the current browser support list. An alternative approach would be to just add `'unsafe-inline'` as well as `'unsafe-inline'` is ignored by CSPv2 when a nonce is set. But this would make this security feature unusable at all in IE. Not worth it at the moment IMO. Implementing this offers the following advantages: 1. **Security:** As we host resources from the same domain by design we don't have to worry about 'self' anymore being in the whitelist 2. **Performance:** We can move oc.js again to inline JS. This makes the loading way quicker as we don't have to load on every load of a new web page a blocking dynamically non-cached JavaScript file. If you want to toy with CSP see also https://csp-evaluator.withgoogle.com/ Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | Storage 503 message improvementsVincent Petry2016-10-241-1/+1
|/ / | | | | | | | | "Storage not available" is now "Storage temporarily not available". Exceptions are now logged in DEBUG level, not FATAL.
* / Allow 4byte unicode filenames on supported platformsRobin Appelman2016-10-201-0/+8
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #1449 from nextcloud/comments-user-mentionMorris Jobke2016-10-173-3/+52
|\ | | | | Notifications for simple @-mentioning in comments
| * emit pre-update event for commentsArthur Schiwon2016-10-121-3/+4
| | | | | | | | | | | | | | * notifications can be cleaned up, no polluted DB * updating comments will re-notify users or remove notifications, depending on the message Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * Notificacations for simple @-mentioning in commentsArthur Schiwon2016-10-072-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (WIP) notify user when mentioned in comments Fix doc, and create absolute URL for as notification link. PSR-4 compatibility changes also move notification creation to comments app Do not notify yourself unit test for controller and application smaller fixes - translatable app name - remove doubles in mention array - micro perf optimization - display name: special label for deleted users, keep user id for users that could not be fetched from userManager Comment Notification-Listener Unit Test fix email adresses remove notification when triggering comment was deleted add and adjust tests add missing @license tags simplify NotificationsController registration appinfo simplification, php docs make string easier to translate adjust test replace dispatcher-based listeners with a registration method and interface safer to not pass optional data parameter to setSubject for marking as processed. ID and mention suffices Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de> update comment Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | optimize Folder::getById to use less queriesRobin Appelman2016-10-121-0/+8
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Add an icon to the notification APIJoas Schilling2016-10-071-7/+21
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* add proper exception documentation for ISimpleFS interfaceMorris Jobke2016-10-051-0/+6
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Deprecate old app folderRoeland Jago Douma2016-10-051-0/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* avatar to appdataRoeland Jago Douma2016-10-051-0/+1
| | | | | | * Fix AvatarTest Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>