Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions js/recommendations-dashboard.js

Large diffs are not rendered by default.

264 changes: 264 additions & 0 deletions js/recommendations-dashboard.js.license
Original file line number Diff line number Diff line change
Expand Up @@ -2,104 +2,368 @@ SPDX-License-Identifier: MIT
SPDX-License-Identifier: ISC
SPDX-License-Identifier: GPL-3.0-or-later
SPDX-License-Identifier: BSD-3-Clause
SPDX-License-Identifier: BSD-2-Clause
SPDX-License-Identifier: AGPL-3.0-or-later
SPDX-License-Identifier: (MPL-2.0 OR Apache-2.0)
SPDX-FileCopyrightText: xiaokai <kexiaokai@gmail.com>
SPDX-FileCopyrightText: rhysd <lin90162@yahoo.co.jp>
SPDX-FileCopyrightText: inline-style-parser developers
SPDX-FileCopyrightText: escape-html developers
SPDX-FileCopyrightText: debounce developers
SPDX-FileCopyrightText: Victor Felder <victor@draft.li> (https://draft.li)
SPDX-FileCopyrightText: Tobias Koppers @sokra
SPDX-FileCopyrightText: Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)
SPDX-FileCopyrightText: T. Jameson Little <t.jameson.little@gmail.com>
SPDX-FileCopyrightText: Stefan Thomas <justmoon@members.fsf.org> (http://www.justmoon.net)
SPDX-FileCopyrightText: Sindre Sorhus
SPDX-FileCopyrightText: Roman Shtylman <shtylman@gmail.com>
SPDX-FileCopyrightText: Rob Cresswell <robcresswell@pm.me>
SPDX-FileCopyrightText: Paul Vorbach <paul@vorba.ch> (http://paul.vorba.ch)
SPDX-FileCopyrightText: Paul Vorbach <paul@vorb.de> (http://vorb.de)
SPDX-FileCopyrightText: Matt Zabriskie
SPDX-FileCopyrightText: Mark <mark@remarkablemark.org>
SPDX-FileCopyrightText: Mapbox
SPDX-FileCopyrightText: John-David Dalton <john.david.dalton@gmail.com> (http://allyoucanleet.com/)
SPDX-FileCopyrightText: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
SPDX-FileCopyrightText: Jeff Sagal <sagalbot@gmail.com>
SPDX-FileCopyrightText: GitHub Inc.
SPDX-FileCopyrightText: Feross Aboukhadijeh
SPDX-FileCopyrightText: Evan You
SPDX-FileCopyrightText: Eugene Sharygin <eush77@gmail.com>
SPDX-FileCopyrightText: Eric Norris (https://github.com/ericnorris)
SPDX-FileCopyrightText: Dr.-Ing. Mario Heiderich, Cure53 <mario@cure53.de> (https://cure53.de/)
SPDX-FileCopyrightText: Christoph Wurst
SPDX-FileCopyrightText: Borys Serebrov
SPDX-FileCopyrightText: Antoni Andre <antoniandre.web@gmail.com>
SPDX-FileCopyrightText: Andris Reinman
SPDX-FileCopyrightText: Andrea Giammarchi


This file is generated from multiple sources. Included packages:
- unist-util-is
- version: 3.0.0
- license: MIT
- unist-util-visit-parents
- version: 2.1.2
- license: MIT
- unist-util-visit
- version: 1.4.1
- license: MIT
- @mapbox/hast-util-table-cell-style
- version: 0.2.1
- license: BSD-2-Clause
- axios
- version: 1.7.4
- license: MIT
- @nextcloud/browser-storage
- version: 0.4.0
- license: GPL-3.0-or-later
- @nextcloud/vue-select
- version: 3.25.1
- license: MIT
- @nextcloud/vue
- version: 8.22.0
- license: AGPL-3.0-or-later
- @ungap/structured-clone
- version: 1.2.0
- license: ISC
- bail
- version: 2.0.2
- license: MIT
- base64-js
- version: 1.5.1
- license: MIT
- buffer
- version: 6.0.3
- license: MIT
- ccount
- version: 2.0.1
- license: MIT
- charenc
- version: 0.0.2
- license: BSD-3-Clause
- comma-separated-tokens
- version: 2.0.3
- license: MIT
- crypt
- version: 0.0.2
- license: BSD-3-Clause
- css-loader
- version: 7.1.2
- license: MIT
- debounce
- version: 2.2.0
- license: MIT
- decode-named-character-reference
- version: 1.0.2
- license: MIT
- devlop
- version: 1.1.0
- license: MIT
- dompurify
- version: 3.1.7
- license: (MPL-2.0 OR Apache-2.0)
- emoji-mart-vue-fast
- version: 15.0.1
- license: BSD-3-Clause
- escape-html
- version: 1.0.3
- license: MIT
- extend
- version: 3.0.2
- license: MIT
- hast-to-hyperscript
- version: 10.0.3
- license: MIT
- hast-util-is-element
- version: 3.0.0
- license: MIT
- hast-util-whitespace
- version: 2.0.1
- license: MIT
- ieee754
- version: 1.2.1
- license: BSD-3-Clause
- inline-style-parser
- version: 0.1.1
- license: MIT
- is-absolute-url
- version: 4.0.1
- license: MIT
- is-buffer
- version: 1.1.6
- license: MIT
- lodash.get
- version: 4.4.2
- license: MIT
- longest-streak
- version: 3.1.0
- license: MIT
- markdown-table
- version: 3.0.3
- license: MIT
- md5
- version: 2.3.0
- license: BSD-3-Clause
- escape-string-regexp
- version: 5.0.0
- license: MIT
- mdast-util-find-and-replace
- version: 3.0.1
- license: MIT
- mdast-util-from-markdown
- version: 2.0.0
- license: MIT
- mdast-util-gfm-autolink-literal
- version: 2.0.0
- license: MIT
- mdast-util-gfm-footnote
- version: 2.0.0
- license: MIT
- mdast-util-gfm-strikethrough
- version: 2.0.0
- license: MIT
- mdast-util-gfm-table
- version: 2.0.0
- license: MIT
- mdast-util-gfm-task-list-item
- version: 2.0.0
- license: MIT
- mdast-util-gfm
- version: 3.0.0
- license: MIT
- mdast-util-newline-to-break
- version: 2.0.0
- license: MIT
- mdast-util-phrasing
- version: 4.1.0
- license: MIT
- mdast-util-to-hast
- version: 13.1.0
- license: MIT
- mdast-util-to-markdown
- version: 2.1.0
- license: MIT
- mdast-util-to-string
- version: 4.0.0
- license: MIT
- micromark-core-commonmark
- version: 2.0.0
- license: MIT
- micromark-extension-gfm-autolink-literal
- version: 2.0.0
- license: MIT
- micromark-extension-gfm-footnote
- version: 2.0.0
- license: MIT
- micromark-extension-gfm-strikethrough
- version: 2.0.0
- license: MIT
- micromark-extension-gfm-table
- version: 2.0.0
- license: MIT
- micromark-extension-gfm-tagfilter
- version: 2.0.0
- license: MIT
- micromark-extension-gfm-task-list-item
- version: 2.0.1
- license: MIT
- micromark-extension-gfm
- version: 3.0.0
- license: MIT
- micromark-factory-destination
- version: 2.0.0
- license: MIT
- micromark-factory-label
- version: 2.0.0
- license: MIT
- micromark-factory-space
- version: 2.0.0
- license: MIT
- micromark-factory-title
- version: 2.0.0
- license: MIT
- micromark-factory-whitespace
- version: 2.0.0
- license: MIT
- micromark-util-character
- version: 2.1.0
- license: MIT
- micromark-util-chunked
- version: 2.0.0
- license: MIT
- micromark-util-classify-character
- version: 2.0.0
- license: MIT
- micromark-util-combine-extensions
- version: 2.0.0
- license: MIT
- micromark-util-decode-numeric-character-reference
- version: 2.0.1
- license: MIT
- micromark-util-decode-string
- version: 2.0.0
- license: MIT
- micromark-util-encode
- version: 2.0.0
- license: MIT
- micromark-util-html-tag-name
- version: 2.0.0
- license: MIT
- micromark-util-normalize-identifier
- version: 2.0.0
- license: MIT
- micromark-util-resolve-all
- version: 2.0.0
- license: MIT
- micromark-util-sanitize-uri
- version: 2.0.0
- license: MIT
- micromark-util-subtokenize
- version: 2.0.0
- license: MIT
- micromark
- version: 4.0.0
- license: MIT
- node-gettext
- version: 3.0.0
- license: MIT
- process
- version: 0.11.10
- license: MIT
- property-information
- version: 6.4.1
- license: MIT
- rehype-external-links
- version: 3.0.0
- license: MIT
- rehype-react
- version: 7.2.0
- license: MIT
- remark-breaks
- version: 4.0.0
- license: MIT
- remark-gfm
- version: 4.0.0
- license: MIT
- remark-parse
- version: 11.0.0
- license: MIT
- remark-rehype
- version: 11.1.0
- license: MIT
- semver
- version: 7.6.3
- license: ISC
- space-separated-tokens
- version: 2.0.2
- license: MIT
- splitpanes
- version: 2.4.1
- license: MIT
- striptags
- version: 3.2.0
- license: MIT
- style-loader
- version: 4.0.0
- license: MIT
- style-to-object
- version: 0.4.4
- license: MIT
- trim-lines
- version: 3.0.1
- license: MIT
- trough
- version: 2.2.0
- license: MIT
- is-plain-obj
- version: 4.1.0
- license: MIT
- unified
- version: 11.0.4
- license: MIT
- unist-builder
- version: 4.0.0
- license: MIT
- unist-util-is
- version: 6.0.0
- license: MIT
- unist-util-position
- version: 5.0.0
- license: MIT
- unist-util-stringify-position
- version: 4.0.0
- license: MIT
- unist-util-visit-parents
- version: 6.0.1
- license: MIT
- unist-util-visit
- version: 5.0.0
- license: MIT
- vfile-message
- version: 4.0.2
- license: MIT
- vfile
- version: 6.0.1
- license: MIT
- vue-color
- version: 2.8.1
- license: MIT
- vue-material-design-icons
- version: 5.3.1
- license: MIT
- vue
- version: 2.7.16
- license: MIT
- web-namespaces
- version: 2.0.1
- license: MIT
- webpack
- version: 5.95.0
- license: MIT
- zwitch
- version: 2.0.4
- license: MIT
- recommendations
- version: 5.0.0-dev.0
- license: AGPL-3.0-or-later
2 changes: 1 addition & 1 deletion js/recommendations-dashboard.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/recommendations-main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/recommendations-main.js.map

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion lib/Service/RecentlyCommentedFilesSource.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@
use function usort;

class RecentlyCommentedFilesSource implements IRecommendationSource {

public const REASON = 'recently-commented';

private ICommentsManager $commentsManager;
private IRootFolder $rootFolder;
private IL10N $l10n;
Expand Down Expand Up @@ -135,7 +138,7 @@ public function getMostRecentRecommendation(IUser $user, int $max): array {
$file->getDirectory(),
$file->getNode(),
$file->getComment()->getCreationDateTime()->getTimestamp(),
$this->l10n->t("Recently commented")
self::REASON,
);
}, $this->getNMostRecentlyCommenedFiles($all, $max));
}
Expand Down
Loading
Loading