summaryrefslogtreecommitdiffstats
path: root/core
Commit message (Expand)AuthorAgeFilesLines
* Remove jquery ui background imageJulius Härtl2018-02-091-0/+1
* [tx-robot] updated from transifexNextcloud bot2018-02-092-2/+2
* [tx-robot] updated from transifexNextcloud bot2018-02-094-8/+20
* [tx-robot] updated from transifexNextcloud bot2018-02-082-2/+4
* [tx-robot] updated from transifexNextcloud bot2018-02-076-4/+72
* [tx-robot] updated from transifexNextcloud bot2018-02-052-2/+28
* [tx-robot] updated from transifexNextcloud bot2018-02-0314-14/+398
* [tx-robot] updated from transifexNextcloud bot2018-02-028-8/+132
* [tx-robot] updated from transifexNextcloud bot2018-02-0116-0/+4402
* [tx-robot] updated from transifexNextcloud bot2018-02-01114-12652/+104
* [tx-robot] updated from transifexNextcloud bot2018-02-012-0/+2
* Merge pull request #8124 from nextcloud/app-nav-flex-margins-fixRoeland Jago Douma2018-01-311-26/+9
|\
| * Fixed app navigation flex marginsJohn Molakvoæ (skjnldsv)2018-01-311-26/+9
* | [tx-robot] updated from transifexNextcloud bot2018-01-312-2/+2
* | [tx-robot] updated from transifexNextcloud bot2018-01-294-46/+48
* | [tx-robot] updated from transifexNextcloud bot2018-01-2710-0/+14
* | [tx-robot] updated from transifexNextcloud bot2018-01-264-0/+6
|/
* [tx-robot] updated from transifexNextcloud bot2018-01-2516-2/+40
* Removed additional and uneccessary request on password reset, to fix redirect...Luca Adrian Lindhorst2018-01-241-8/+1
* [tx-robot] updated from transifexNextcloud bot2018-01-24112-116/+122
* [tx-robot] updated from transifexNextcloud bot2018-01-234-2/+56
* [tx-robot] updated from transifexNextcloud bot2018-01-222-0/+2
* [tx-robot] updated from transifexNextcloud bot2018-01-21114-114/+144
* [tx-robot] updated from transifexNextcloud bot2018-01-202-0/+4
* [tx-robot] updated from transifexNextcloud bot2018-01-192-0/+2
* [tx-robot] updated from transifexNextcloud bot2018-01-1814-0/+16
* Merge pull request #7915 from nextcloud/backport/7909/fix-migration-type-hintsRoeland Jago Douma2018-01-177-29/+26
|\
| * Fix the type hints of migrations and correctly inject the wrapped schema into...Joas Schilling2018-01-177-29/+26
* | [tx-robot] updated from transifexNextcloud bot2018-01-1718-0/+18
* | [tx-robot] updated from transifexNextcloud bot2018-01-16114-238/+250
* | Fix bug with proxiesMario Danic2018-01-151-1/+12
|/
* Merge pull request #7709 from nextcloud/fix-password-displayed-as-username-in...Morris Jobke2018-01-113-8/+14
|\
| * Bump strengthify to 0.5.3Roeland Jago Douma2018-01-102-7/+13
| * Fix password displayed as username in Firefox password manager dialogDaniel Calviño Sánchez2018-01-051-1/+1
* | Merge pull request #7650 from rpirritano/masterMorris Jobke2018-01-113-10/+9
|\ \
| * | made small changes to login screenRobert Pirritano2018-01-113-10/+9
* | | Adds rel="noopener noreferrer" to _blank links inside commentsThomas Citharel2018-01-111-1/+1
|/ /
* | Merge pull request #7635 from Abijeet/bug-7106Roeland Jago Douma2018-01-102-2/+66
|\ \
| * | Add extra test cases for password confirmationDaniel Calviño Sánchez2018-01-101-2/+26
| * | Added test cases for the fix for the password confirmation box appearing repe...Abijeet2018-01-101-0/+37
| * | Fixes password input being prompted every time.Abijeet2018-01-081-2/+5
* | | Merge pull request #7767 from nextcloud/fix-theming-regressionRoeland Jago Douma2018-01-101-8/+6
|\ \ \
| * | | Fix appmenu svg double invertJulius Härtl2018-01-101-8/+6
* | | | Set height for sidebar iconsJulius Härtl2018-01-101-0/+1
|/ / /
* | | Merge pull request #7729 from nextcloud/fix-tooltip-shadowJan-Christoph Borchardt2018-01-092-2/+3
|\ \ \
| * | | Improve shadow of tooltipsJulius Härtl2018-01-082-2/+3
* | | | opens comments links in _blank 🙊Arthur Schiwon2018-01-081-1/+1
* | | | Fix testsJulius Härtl2018-01-081-2/+0
* | | | Remove show() function since we always show the avatar containerJulius Härtl2018-01-082-4/+2
|/ / /
* / / Fix "New" menu shown behind the multiselect header in the file listDaniel Calviño Sánchez2018-01-081-1/+1
|/ /
$node->getPath()); if ($parentPath === '') { $parentPath = '/'; } // if we already cached the folder this file is in we know there are no comments for this file if (array_search($parentPath, $this->cachedFolders) === false) { return 0; } else { return $this->getUnreadCount($node); } } }); } /** * returns a reference to the comments node * * @param Node $node * @return mixed|string */ public function getCommentsLink(Node $node) { $href = $this->server->getBaseUri(); $entryPoint = strpos($href, '/remote.php/'); if ($entryPoint === false) { // in case we end up somewhere else, unexpectedly. return null; } $commentsPart = 'dav/comments/files/' . rawurldecode($node->getId()); $href = substr_replace($href, $commentsPart, $entryPoint + strlen('/remote.php/')); return $href; } /** * returns the number of unread comments for the currently logged in user * on the given file or directory node * * @param Node $node * @return Int|null */ public function getUnreadCount(Node $node) { $user = $this->userSession->getUser(); if (is_null($user)) { return null; } $lastRead = $this->commentsManager->getReadMark('files', (string)$node->getId(), $user); return $this->commentsManager->getNumberOfCommentsForObject('files', (string)$node->getId(), $lastRead); } }