1
0
mirror of https://github.com/chylex/Nextcloud-News.git synced 2024-10-17 08:42:48 +02:00
Commit Graph

38 Commits

Author SHA1 Message Date
Alec Kojaev
65c15dac38 Reimplement relative time formatting as a filter, dropping dependency on deprecated moment.js
Signed-off-by: Alec Kojaev <alec@kojaev.name>
2021-07-24 14:52:34 +02:00
Marco Nassabain
04cf2672c3 🎨 Adapt front-end to match new implementation
- remove share-specific code since new solution uses dummy feeds

Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00
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
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
Daniel Schaal
1fbb81e469 Fix tests 2017-06-10 11:19:07 +02:00
Daniel Schaal
b7f20c0f36 Fix travis build (#178)
* Use stable12 branch for travis

* Shorten db indices to max 27 characters to satisfy app:check-code

* Use precise container, downgrade to psql 9.4

* Create psql role

* Fix ContentController test

* Fix PageController and StatusService tests

* Use OCP\IDBConnection, OCP\IDb was removed

* Extend IntegrationTest from \Test\Testcase, use loginAsUser to login

* Require phpunit 5, nextcloud tests not compatible with phpunit 6

Change tests to use phpunit from vendor directory
2017-06-06 18:20:20 +02:00
Bernhard Posselt
7a3a22bd27 Adjust copyright header 2016-07-23 21:32:42 +02:00
Bernhard Posselt
1ce933d693 fix linting error 2016-04-18 21:21:22 +02:00
Bernhard Posselt
d538613b60 Fix #791 2016-04-18 21:18:13 +02:00
Bernhard Posselt
d0401257f6 Fix #465 2016-04-12 22:16:13 +02:00
Bernhard Posselt
ee3d2332ec fix #156 2015-03-30 16:20:05 +02:00
Bernhard Posselt
35550fe42e fix autopaging in search 2015-03-21 13:36:50 +01:00
Bernhard Posselt
df509a4b85 fix #711 2015-01-23 14:32:53 +01:00
Bernhard Posselt
f88f8fcb7f update jasmine, karma and angular 2014-12-23 12:50:15 +01:00
Bernhard Posselt
8e74fa253d Make expand entries in compact view after jumping to next/previous feed optional with a setting 2014-12-03 10:40:41 +01:00
Bernhard Posselt
193bd948d7 fix multiple bugs 2014-11-20 10:58:58 +01:00
Bernhard Posselt
53443fd177 show hint when no articles to read are availabe 2014-11-19 17:09:23 +01:00
Bernhard Posselt
676b8dd187 first stab at recommended sites 2014-11-19 15:54:32 +01:00
Bernhard Posselt
8ecc37bafc fix #624 2014-10-04 13:48:44 +02:00
Bernhard Posselt
08df2433ca autopaging 2014-09-13 16:58:38 +02:00
Bernhard Posselt
5c63092dd7 fix order by 2014-09-11 22:17:19 +02:00
Bernhard Posselt
c27dab7c80 add collection view 2014-09-11 22:05:36 +02:00
Bernhard Posselt
b4c8934dd3 fix line lengths and indention 2014-09-11 17:08:04 +02:00
Bernhard Posselt
793bd21773 port to ES5, fix unread count going into minus 2014-09-11 14:32:59 +02:00
Bernhard Posselt
88279961c5 fix autopaging and marking read, render items 2014-05-30 15:14:07 +02:00
Bernhard Posselt
abd5ef4c4c finish content controller 2014-05-30 12:23:34 +02:00
Bernhard Posselt
8d254cf11c add missing commas 2014-05-30 00:17:27 +02:00
Bernhard Posselt
79032a17fb add autopaging 2014-05-30 00:06:49 +02:00
Bernhard Posselt
320304c909 dont mark read on scroll 2014-05-29 23:10:55 +02:00
Bernhard Posselt
cba949fb07 order by pubdate 2014-05-29 22:58:30 +02:00
Bernhard Posselt
b91ef01fdb use controller as syntax for ng-view 2014-05-26 02:41:01 +02:00
Bernhard Posselt
6dc363a14a render items 2014-05-26 02:01:59 +02:00
Bernhard Posselt
4fa9c6d6cf add missing controller methods bodies 2014-05-23 13:26:01 +02:00
Bernhard Posselt
2bb6bc03b5 add autopaging directive 2014-05-22 15:09:57 +02:00
Bernhard Posselt
2b4da592f1 simplify star and read 2014-05-22 02:15:56 +02:00
Bernhard Posselt
0fa6755224 es6 all the things 2014-05-21 23:43:28 +02:00
Bernhard Posselt
5a7b1e0c36 rename model to resource 2014-05-20 17:01:59 +02:00
Bernhard Posselt
b5d5b2b22a bind items to controller 2014-05-19 16:21:17 +02:00