1
0
mirror of https://github.com/chylex/Nextcloud-News.git synced 2024-12-27 11:42:45 +01:00
Commit Graph

5 Commits

Author SHA1 Message Date
Benjamin Brahmer
a70d155ce4 Set lastmodified in read all
if this is not updated the API won't work correctly and we get sync errors.
Adjust test to use item api

Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2023-04-05 19:43:02 +02:00
Benjamin Brahmer
2432d56f8c Use app password, change setup method
The app password is nice in local testing, since
Nextcloud logs too much data if you use the user password.
Setup_file and teardown_file are only executed once instead
of running before and after every job.

Use bats from npm as ubuntu's version is old.

Switch to occ for app password

Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2022-10-24 16:51:57 +02:00
Benjamin Brahmer
49f79101c3
try to speedup the api testing by hosting the feeds locally (#1874)
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2022-08-21 16:38:40 +02:00
Benjamin Brahmer
d4450ebad2
Change Autodiscover behaviour (#1860)
* change autodiscover behaviour to only run if the provided url is not already a feed

* Execute feed check after the final url is found

Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>

Co-authored-by: Sean Molenaar <SMillerDev@users.noreply.github.com>
2022-08-08 19:23:42 +02:00
Benjamin Brahmer
eca96ad37d
Enable API testing (#1699)
Enable API testing with local php server.

This adds many tests for API v1.2, more still possible.
Which increased the quality of news already.

Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2022-05-29 11:25:38 +02:00