1
0
mirror of https://github.com/chylex/Nextcloud-News.git synced 2025-09-05 20:53:11 +02:00
Commit Graph

1145 Commits

Author SHA1 Message Date
Marco Nassabain
a990183265 Update jasmine tests to use share data
- explicitly state that isShared = false
- we don't track unreadCount of feeds we don't own
=> a shared item is still in the sharers feed
- cache only gets updated for current users feeds

Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00
WENDLING NICOLAS
3b4a1a1e4e 🐛 get users request limit to 5 users
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00
Aurélien
9bfbb7c21f Fix Loading which doesn't end
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00
Marco Nassabain
02a84c583f added nextcloud router
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00
Jimmy Huynh
86949f992b (+) isSharedUnread (depending on getSharedCount(): function done
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00
Aurélien
7609fdbabf Add Loading for searchUser and share
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00
Jimmy Huynh
a78287a777 (+) Blocking multiple sharing request to the same user
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00
Marco Nassabain
e5ccff97a6 Shared menu: get and show sharedCount
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00
Marco Nassabain
29a68a10e8 Run.js: Subscribe to 'shared' (sharedCount)
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00
WENDLING NICOLAS
c469d3221a 🐛 Change to singlequotes - Fix build error
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00
Jimmy Huynh
0d5443d6ee (+) sharedButton
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00
Jimmy Huynh
1ff8c26ac0 (+) Shared href navigation
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00
Marco Nassabain
5342837d40 NewsItem: share with user on click (front-end)
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00
marco.nassabain@etu.unistra.fr
ea4178620b 🎨 create ShareController and moved share logic
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00
marco.nassabain@etu.unistra.fr
4a86db338d 🎨 rename UserResource to ShareResource
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00
marco.nassabain@etu.unistra.fr
4b1102972e 🐛 Use the sharee api to get users for sharing
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00
Jimmy Huynh
cf00206da0 (+) Dynamic userlist on input change
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00
Marco Nassabain
2e151f6e14 remove @nextcloud/router dependecy
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00
Marco Nassabain
da7d43e2b3 added searchUsers function in ContentController
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00
Marco Nassabain
5a9f8ff770 added UserResource with getUsers function
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00
Marco Nassabain
1beb3249c8 added nextcloud router
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00
Marco Nassabain
4a7e092b98 🔥 Remove front-end edit from back-end pr
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 22:31:21 +02:00
Marco Nassabain
a1edb03e19 🔥 Remove changes from front-end for back-end pr
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 22:31:21 +02:00
Marco Nassabain
b27226d4ae 🚑 Fix bug - other user feeds show for shared item
- findAllFeeds doesn't return feeds of shared articles
- Disable feed cache handling for shared items

Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 22:31:21 +02:00
Aurélien
6ebe676911 add root for access shared items
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 22:31:21 +02:00
skiingwiz
04519388ce Allow directly adding a feed without going through the discovery process
Signed-off-by: skiingwiz <skiingwiz@gmail.com>
2021-04-02 11:15:17 +02:00
dependabot[bot]
a6c9b30d58 Bump karma from 6.3.1 to 6.3.2 in /js (#1268) 2021-03-30 10:48:02 +02:00
dependabot[bot]
05c99bb259 Bump y18n from 3.2.1 to 3.2.2 in /js
Bumps [y18n](https://github.com/yargs/y18n) from 3.2.1 to 3.2.2.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-29 22:23:37 +02:00
dependabot[bot]
8b519cd234 Bump karma from 6.3.0 to 6.3.1 in /js
Bumps [karma](https://github.com/karma-runner/karma) from 6.3.0 to 6.3.1.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v6.3.0...v6.3.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-25 09:02:57 +01:00
dependabot[bot]
4055da1c9e Bump karma from 6.2.0 to 6.3.0 in /js
Bumps [karma](https://github.com/karma-runner/karma) from 6.2.0 to 6.3.0.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v6.2.0...v6.3.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-24 07:22:26 +01:00
dependabot[bot]
25a601c60d Bump jasmine-core from 3.7.0 to 3.7.1 in /js
Bumps [jasmine-core](https://github.com/jasmine/jasmine) from 3.7.0 to 3.7.1.
- [Release notes](https://github.com/jasmine/jasmine/releases)
- [Changelog](https://github.com/jasmine/jasmine/blob/main/RELEASE.md)
- [Commits](https://github.com/jasmine/jasmine/compare/v3.7.0...v3.7.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-19 15:57:26 +01:00
dependabot[bot]
31126a1ef5 Bump jasmine-core from 3.6.0 to 3.7.0 in /js
Bumps [jasmine-core](https://github.com/jasmine/jasmine) from 3.6.0 to 3.7.0.
- [Release notes](https://github.com/jasmine/jasmine/releases)
- [Changelog](https://github.com/jasmine/jasmine/blob/main/RELEASE.md)
- [Commits](https://github.com/jasmine/jasmine/compare/v3.6.0...v3.7.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-18 09:58:26 +01:00
dependabot[bot]
4aeab15afa Bump karma from 6.1.2 to 6.2.0 in /js
Bumps [karma](https://github.com/karma-runner/karma) from 6.1.2 to 6.2.0.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v6.1.2...v6.2.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-11 07:19:14 +01:00
dependabot[bot]
9a832f21e8 Bump karma from 6.1.1 to 6.1.2 in /js
Bumps [karma](https://github.com/karma-runner/karma) from 6.1.1 to 6.1.2.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v6.1.1...v6.1.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-09 09:52:32 +01:00
dependabot[bot]
5b927ceac2 Bump jquery from 3.5.1 to 3.6.0 in /js
Bumps [jquery](https://github.com/jquery/jquery) from 3.5.1 to 3.6.0.
- [Release notes](https://github.com/jquery/jquery/releases)
- [Commits](https://github.com/jquery/jquery/compare/3.5.1...3.6.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-03 07:13:15 +01:00
Tucker McKnight
5ba6f04bae Fix incorrect article sorting
Currently, an article with an ID of 1000 will show up
earlier than one with ID = 900, because the IDs are being treated
as strings and compared alphabetically. (1 comes before 9, and
the comparison stops there.)

We need to parse them as integers to ensure that 900 is less than
1000.

Signed-off-by: Tucker McKnight <tucker.mcknight@gmail.com>
2021-02-22 19:44:33 +01:00
dependabot[bot]
efe48902e4 Bump karma from 6.1.0 to 6.1.1 in /js
Bumps [karma](https://github.com/karma-runner/karma) from 6.1.0 to 6.1.1.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v6.1.0...v6.1.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-15 08:25:37 +01:00
dependabot[bot]
6ea13fbc86 Bump karma from 6.0.4 to 6.1.0 in /js
Bumps [karma](https://github.com/karma-runner/karma) from 6.0.4 to 6.1.0.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v6.0.4...v6.1.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-03 07:24:33 +01:00
dependabot[bot]
53442da6a6 Bump karma from 6.0.3 to 6.0.4 in /js
Bumps [karma](https://github.com/karma-runner/karma) from 6.0.3 to 6.0.4.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v6.0.3...v6.0.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-02 09:28:53 +01:00
dependabot[bot]
c705a19b1e Bump karma from 6.0.2 to 6.0.3 in /js
Bumps [karma](https://github.com/karma-runner/karma) from 6.0.2 to 6.0.3.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v6.0.2...v6.0.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-28 09:16:00 +01:00
dependabot[bot]
ad103f3b44 Bump karma from 6.0.1 to 6.0.2 in /js
Bumps [karma](https://github.com/karma-runner/karma) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v6.0.1...v6.0.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-26 08:53:11 +01:00
dependabot[bot]
dcc28df3fb Bump karma from 6.0.0 to 6.0.1 in /js
Bumps [karma](https://github.com/karma-runner/karma) from 6.0.0 to 6.0.1.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v6.0.0...v6.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-21 07:14:49 +01:00
dependabot[bot]
85bf5a425a Bump karma from 5.2.3 to 6.0.0 in /js
Bumps [karma](https://github.com/karma-runner/karma) from 5.2.3 to 6.0.0.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v5.2.3...v6.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-15 10:53:00 +01:00
dependabot[bot]
6aeb8a48fd Bump gulp-terser from 2.0.0 to 2.0.1 in /js
Bumps [gulp-terser](https://github.com/duan602728596/gulp-terser) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/duan602728596/gulp-terser/releases)
- [Commits](https://github.com/duan602728596/gulp-terser/compare/v2.0.0...v2.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-07 07:23:32 +01:00
dependabot[bot]
a2c288793e Bump ini from 1.3.5 to 1.3.7 in /js
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-15 16:44:33 +01:00
Benjamin Brahmer
33cb4d2aed switch to actions for frontend tests and remove travis
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2020-12-09 19:53:35 +01:00
dependabot[bot]
c4e2db0468 Bump debug from 4.2.0 to 4.3.1 in /js
Bumps [debug](https://github.com/visionmedia/debug) from 4.2.0 to 4.3.1.
- [Release notes](https://github.com/visionmedia/debug/releases)
- [Commits](https://github.com/visionmedia/debug/compare/4.2.0...4.3.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-20 12:13:13 +01:00
dependabot[bot]
bc319b9605 Bump gulp-terser from 1.4.1 to 2.0.0 in /js
Bumps [gulp-terser](https://github.com/duan602728596/gulp-terser) from 1.4.1 to 2.0.0.
- [Release notes](https://github.com/duan602728596/gulp-terser/releases)
- [Commits](https://github.com/duan602728596/gulp-terser/compare/v1.4.1...v2.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-18 14:43:15 +01:00
dependabot[bot]
a9bd413008 Bump gulp-sourcemaps from 2.6.5 to 3.0.0 in /js
Bumps [gulp-sourcemaps](https://github.com/gulp-sourcemaps/gulp-sourcemaps) from 2.6.5 to 3.0.0.
- [Release notes](https://github.com/gulp-sourcemaps/gulp-sourcemaps/releases)
- [Commits](https://github.com/gulp-sourcemaps/gulp-sourcemaps/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-12 08:41:37 +01:00
anoy
112cc727ea add locale-aware sorting for folders and feeds
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
2020-11-09 16:58:44 +01:00