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

480 Commits

Author SHA1 Message Date
anoy
d1b0e299f1 remove doubled execute
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
2020-10-03 20:16:34 +02:00
Sean Molenaar
b9c31a73bd DB: Fix mime checking
Signed-off-by: Sean Molenaar <sean@m2mobi.com>
2020-10-03 14:01:36 +02:00
Benjamin Brahmer
4e6acf9c68 fix matching any string
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2020-10-03 14:01:36 +02:00
Benjamin Brahmer
f7a3581f45 remove loggerParams
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2020-10-03 14:01:36 +02:00
Sean Molenaar
167dc70238 Fix various 15.0 bugs
Issue #821,#820,#819

Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-10-03 14:01:36 +02:00
anoy
0d1ee15f86 fix invalid UserId when logged out
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
2020-10-02 19:30:43 +02:00
anoy
4fffe42eb9 fix incorrect cron recommendation
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
2020-10-02 15:43:06 +02:00
Sean Molenaar
e528361141 Add feed autodiscovery
Issue GH-415

Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-09-29 21:15:53 +02:00
Sean Molenaar
35b53ecd40 OPML export command and fixes
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-09-29 14:56:07 +02:00
Sean Molenaar
bc01761221 Fix repair step and test it
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-09-29 13:02:03 +02:00
Sean Molenaar
d00d1ab2a2 Create V2 mapper, Service and management commands
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-09-27 15:35:31 +02:00
Benjamin Brahmer
66ce13a0c7 change statement for deleting items with help from @Talon24
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2020-09-25 19:18:04 +02:00
Sean Molenaar
60ab4941cc Move to nextcloud config and update phpunit
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-09-25 19:18:04 +02:00
Benjamin Brahmer
3a62ffbe88 run phpcbf
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2020-09-17 10:23:43 +02:00
Felix
24d38662cb Add tagesschau.de to feeds.de.json
According to their website, the RSS2 feed seems to be preferred and has images etc, which the Atom feed does not have.

Signed-off-by: Felix <22506886+felurx@users.noreply.github.com>
2020-09-13 19:04:44 +02:00
Benjamin Brahmer
9bb6bf691c Fix UpdateInteval not being saved to config
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2020-09-02 08:31:10 +02:00
Gioele Falcetti
bf0e693e23 Fix crash if full-text is enabled and the news item does not provide an URL to be fetched
Signed-off-by: Gioele Falcetti <thegio.f@gmail.com>
2020-08-31 00:59:43 +02:00
Clemens
8dc21e1e16 Added Tarnkappe.info
Signed-off-by: Clemens <clemens@clemensknost.de>
2020-08-30 19:26:04 +02:00
Benjamin Brahmer
dd266ed05f fix import with invalid guid_hash
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2020-08-29 23:45:26 +02:00
Sean Molenaar
b73c7c0f8a Cleanup appinfo files
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-08-26 22:48:17 +02:00
Sean Molenaar
54630030c3 Add phpstan checks
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-08-25 20:52:48 +02:00
Benjamin Brahmer
4ebc906fef Update to new BackgroudJob logic
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2020-08-14 18:22:57 +02:00
Rodrigo Aguilera
1619dd379d Allow data URI scheme inside the body of an item.
Signed-off-by: Rodrigo Aguilera <hi@rodrigoaguilera.net>
2020-08-14 18:17:18 +02:00
David Engster
864794461f Do not create spurious links in item body
The 'str_replace' will match any HTML element that starts with '<a',
including things like '<address' or '<article', thus creating spurious
links in item bodies. Fix that by simply adding one whitespace.

Fixes issue #527.

Signed-off-by: David Engster <deng@randomsample.de>
2020-05-21 12:02:25 +02:00
Freddo
8b2c766384 Remove Totalbiscuit from Explore
As unfortunate as it is, John "TotalBiscuit" Bain passed away in 2018, with the last video uploaded to his channel being posted close to a year ago at this point. It is probably best to open up space for other feeds.

Signed-off-by: Freddo3000 <f.falk@protonmail.com>
2020-05-07 12:18:11 +02:00
Freddo3000
3b506a8530 Add feed: The Regimental Standard
https://regimental-standard.com/

Warhammer 40K themed newsletter providing humorous and uplifting news bulletins for the Imperial Guardsmen of the 42nd millenium.

Signed-off-by: Freddo3000 <f.falk@protonmail.com>
2020-05-07 12:17:20 +02:00
Chris Noxz
81d2407e6c
fix 'If-Modified-Since' causing BAD REQUEST (#684)
fix 'If-Modified-Since' causing BAD REQUEST

Signed-off-by: Chris Noxz <chris@noxz.tech>
Co-authored-by: kesselb <mail@danielkesselberg.de>
2020-04-28 18:25:34 +02:00
Cesar Enrique Garcia Dabo
5b4f3d29e4 Always show the unread articles.
The unread articles folder will always be visible, regardless
of the "Show all" setting. If that setting is on, then an
additional "All articles" folder will be show as before, but
it doesn't substitute the "Uread articles" one.

A new URL /apps/news/#/items/unread is also created that jumps
to the unread articles.

Signed-off-by: Cesar Enrique Garcia Dabo <cquike@arcor.de>
2020-04-23 12:37:24 +02:00
Maceček Richard
a69ec8edd8 Create feeds.cs.json
Signed-off-by: Maceček Richard <46937538+macecekrichard@users.noreply.github.com>
2020-04-23 12:15:36 +02:00
Daniel Kesselberg
95ef23b143 Check if $feed is null
and we are unable to continue because there is no valid feed data

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-03-09 23:03:30 +01:00
Talon24
cc051c6ce7
Different solution for ONLY_FULL_GROUP_BY (see #406) (Issue #80) (#407)
* Group by moved to subquery, get feed details from outer query (see #406)

Signed-off-by: Talon <talontalon24@gmail.com>
2020-03-01 15:49:39 +01:00
Éloi Rivard
306d3cdc60
Basic Media-RSS support (#599)
Signed-off-by: Éloi Rivard <azmeuk@gmail.com>
2020-02-16 14:26:06 +01:00
Petros Koutsolampros
d27dddad25 Allow getContent() in Scraper and IScraper to return null (#606)
Allow getContent() in Scraper and IScraper to return null
2020-01-07 14:57:19 +01:00
kesselb
f045bd0ba3 Update httpLastModified from the feed response (#594)
LastModified is used (in a feed context to see if a user edited a feed). httpLastModified to store the last-modified response from the source.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-12-27 03:51:06 +01:00
DriverXX
6673cbc3d9 Reimplement full-text scraping (#563)
Add readability.php scraper
Fixes #482
Signed-off-by: Gioele Falcetti <thegio.f@gmail.com>
2019-12-24 09:33:19 +01:00
b_b
35c6c91e26 Get content:encoded of item if available (#565)
Get content:encoded of item if available fixes #564

Signed-off-by: brunob <bruno@eliaz.fr>
2019-11-16 14:21:40 +01:00
Paul Calabro
3c610a6378 Update feeds.en.json (#557)
Added the Lifehacker RSS feed

Signed-off-by: Paul Calabro <paulcalabro@users.noreply.github.com>
2019-10-19 13:08:45 +02:00
Benjamin Brahmer
ae99d52aad
Update to feedio 4+ (#494)
- bumped dependencies to last supported version
travis:
- removed php 7.0
- move main target to nc 16
- drop support for nc 14 & 15

Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2019-08-16 07:57:34 +02:00
Carlos Silva
6c01164b9b Add the 'Accept' header to the request (#525)
* Add the 'Accept' header to the request

Some firewalls block requests without the Accept header on the HTTP(s) request as seen on issue #517,
so, just add the header to all requests and say we accept anything.

Signed-off-by: Carlos Mogas da Silva <r3pek@r3pek.org>

* Use a more detailed Accept Header

Signed-off-by: Carlos Mogas da Silva <r3pek@r3pek.org>

* Split up long line

Signed-off-by: Carlos Mogas da Silva <r3pek@r3pek.org>
2019-08-16 07:14:20 +02:00
nachoparker
1a54c2abec add "mark read" floating button mobile. Fixes #469 (#505)
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2019-05-11 10:08:14 +02:00
Daniel Opitz
10c0b1ff10 removed warning about non utf8mb4 charset for mysql/mariadb - #496 (#497)
Signed-off-by: Daniel Opitz <git@copynpaste.de>
2019-04-25 13:04:56 +02:00
Benjamin Brahmer
6410d92f3e
Use nextclouds temp dir (#493) 2019-04-11 12:59:05 +02:00
Sean Molenaar
1983ca1315
Set tmp dir as cache for favicon 2019-04-05 15:12:59 +02:00
Sean Molenaar
b37e237c7a Fix xkcd commics 2019-03-26 09:31:03 +01:00
Sean Molenaar
62bd42cb17 Stop assuming encoding of xml, let simplexml throw silently (#457) 2019-03-22 09:19:05 +01:00
Sean Molenaar
c69bcb8e68 Allow empty-ish lastmodified and clean up FeedFetcher Test (#458) 2019-03-21 05:16:35 +01:00
Jasper Knockaert
84af098d01 reset modified since filter when updating feeds
When updating feeds the modified since date is added as a filter. This needs to be reset when looping over the feeds. Fixes #444.
2019-03-20 07:51:45 +01:00
Sean Molenaar
9b915e24af Use a copy of the FeedIO client that doesn't specify a useragent 2019-03-18 10:39:32 +01:00
Sean Molenaar
6ed63bdedd Set nextcloud user agent 2019-03-18 10:39:32 +01:00
Sean Molenaar
2698214c41 fix/allow CDATA encoding (#428) 2019-03-17 08:23:37 +01:00
Sean Molenaar
f416213993 Fix email and password not being encoded 2019-03-12 19:58:06 +01:00
Sean Molenaar
9d5ac4b039 Catch FeedIO reader exception.
Closes #413

Closes #412
2019-03-12 13:30:05 +01:00
Simon Gilliot
67799e07b8 #413 DateTime::createFromFormat() 2019-03-11 08:33:14 +01:00
Sean Molenaar
71ba5a3ad1 Fix generation commands and make them available in ./occ (#402) 2019-03-06 13:10:37 +01:00
Sean Molenaar
7c17b2c24b
Allow empty update time 2019-02-23 16:11:28 +01:00
Sean Molenaar
ee6bb6ce70
Fix mismatched interface 2019-01-31 13:40:52 +01:00
Sean Molenaar
d61a57bd2d
Make feed failing more verbose 2019-01-31 10:23:56 +01:00
Sean Molenaar
a3246a927d
Parser: Switch to feedIO for parsing instead of picoFeed 2019-01-30 20:36:40 +01:00
Morris Jobke
9cd871983a
Merge pull request #382 from SMillerDev/codestyle_psr2
Define an official codestyle and adhere to it.
2019-01-28 22:32:49 +01:00
DriverXX
71ce148554 Return also folderId with "news:updater:all-feeds" 2019-01-10 10:35:48 +01:00
Sean Molenaar
becce6b752 Define an official codestyle and adhere to it. 2018-12-14 07:54:43 +01:00
Daniel Opitz
5c7fdb0853 remove some wrapping functions, define argument and response types, removed configuration of AppConfig as its not existing anymore 2018-12-04 17:09:28 +01:00
blackcrack
499bbe930f
add EFB.NU & New
add EFB.NU 
http://www.essential-freebies.de/board/feed.php
a German Freeware,Share and OpenSource Board who be the members where posting News.
Any can make with and can posting News for WinNT Freeware. It's a Huge German Windows Software Board.

best regards
blacky
2018-10-22 10:27:38 +02:00
Alexander Grüßung
0bf1af1ee9 Update feeds.de.json
Added APPkosmos.de to explore file
2018-10-19 13:32:47 +02:00
Detlev Zundel
8337d2aa7d Fix lastModified to be a string rather than an integer. (#355)
This fixes https://github.com/nextcloud/news/issues/350#issue-369283392

Signed-off-by: Detlev Zundel <dzu@member.fsf.org>
2018-10-14 18:53:53 +02:00
Benjamin Brahmer
68c656fea7 add date to export .opml 2018-10-04 10:27:59 +02:00
Daniel Opitz
89f2c7cfdb add setters + getters to Folder and Item entities, fixed unit tests, rearranged methods 2018-09-28 23:24:10 +02:00
Daniel Opitz
2aabd8fd1f fixed feed tests 2018-09-28 23:24:10 +02:00
Daniel Opitz
159986553b add php7 types 2018-09-28 23:24:10 +02:00
Daniel Opitz
a3b5b516d2 add getters + setters for feed entity 2018-09-28 23:24:10 +02:00
Daniel Aleksandersen
dea3cebf2e
Restore a working User-Agent
The previous User-Agent was malformed. Using an old Chrome version now looks more suspicious. This version conforms and passes WAF just fine.
2018-09-12 03:36:42 +02:00
David Guillot
a84e80131a feat(api): support new OC core login flow
* Base ApiController now needs IUserSession and extracts/serves IUser from it
* All other API controllers now inherit from ApiController
2018-07-01 23:01:54 +02:00
Sean Molenaar
5b94705cf3 Core: Fix compatibility with nextcloud codestyle (#280) 2018-03-27 15:35:06 +02:00
Sean Molenaar
17e85dd507 Unit: Fix unittests (#278)
* Unit: Fix unittests

Issue #171

* Tests: Move test namespace to the expected nextcloud namespace
2018-03-18 15:01:08 +01:00
Daniel S
65dc9f5b56 Add: German Feeds for t3n.de and netzpolitik.org (#241)
- Add: http://t3n.de/rss.xml as new discoverable source for tech news
- Add: https://netzpolitik.org/feed/ as source for network politics / news source

- See also: #240
2017-12-16 12:21:13 +01:00
Daniel Opitz
a97dd58e3b Split binary to booleans (#203)
* replaced old status with 2 flags for unread and starred

* add fields to db, replace int(1,0) with booleans in sql queries, removed StatusFlags class + refactor code relying to it

* add repair step for migration

* again use integer(1,0) instead of bool in sql queries, because of sqlite doesn't support true/false

* add/fix unit tests for new boolean status

* set unread/starred flags as statements in sql

* fixed mysql unknown column items.unread, fixed marking of read items on repair step

* remove unnecessary bool casts

* add empty checks to Items::is* methods

* update migration to use native sql instead of the querybuilder

* don't cast the flags manually, let the api do the work
2017-08-14 10:34:53 +02:00
rakekniven
0fa82e88d7 Rakekniven patch 1 (#204)
* Update FeedFetcher.php

* Update part.content.warnings.php

* Update part.content.warnings.php
2017-07-13 16:52:30 +02:00
rakekniven
e09a146941 Update FeedFetcher.php (#200)
Small l10n fix
2017-07-09 09:04:04 +02:00
coderkun
68e3fa0172 Call cron beforeUpdate() before update() (#172) (#174) 2017-06-03 13:32:57 +02:00
sonologic
774b4b6852 Fix #163, use IDBConnection->supports4ByteText() (#169)
Instead of the buggy StatusService->hasIncorrectCharset, use
the already available IDBConnection->supports4ByteText() to
determine if 4byte unicode is supported.
2017-05-31 20:12:09 +02:00
Bernhard Posselt
42c57af9f8 better link 2017-05-24 20:52:23 +02:00
Bernhard Posselt
e64167ec0a Fix #151, Fix #145 2017-05-19 17:48:16 +02:00
Bernhard Posselt
53822bb4bc add new apis 2017-05-13 21:35:17 +02:00
Bernhard Posselt
0dd88fad75 Fix #142 2017-05-02 19:48:29 +02:00
Robin Appelman
bc27596f70 Add postprocessor for getting lwn subscriber articles (#72) 2017-01-04 11:10:19 +01:00
Daniel Schaal
04f66c9710 Add updatedDate to item model (#81)
* Update picoFeed to v0.1.28

* Add updated_date to database and bump version to 10.1.1

* Add updatedDate to item model

* Check for updatedDate when updating a feed

* Fix unit test to check for newer updatedDate
2017-01-04 11:09:46 +01:00
Robin Appelman
547b977c49 use non depricated public api to register background job (#59) 2016-11-25 09:57:35 +01:00
Daniel Schaal
f658beaf61 Throw ServiceNotFoundException when marking non-existent item as read (#61)
* Throw ServiceNotFoundException when marking non-existent item as read

Fixes #58

* Add test case for marking non-existent item as read
2016-11-18 16:03:31 +01:00
anoy
865cfa566a fix explore feed urls, add feed suggestion (#50)
* fixed feed urls for 'Golem' and 'heise online'

* blog suggestion: 'Kuketz IT-Security Blog'
2016-11-02 20:03:27 +01:00
Bernhard Posselt
8d63975360 revert 2016-10-02 18:05:49 +02:00
Daniel Schaal
e45511f6ba Add updatedDate to item model (#43)
* Update picoFeed to 0.1.25

* Add updated_date to database

* Add updatedDate to item model

* Bump version to 9.0.5

* Check for updatedDate when updating a feed

* Fix unit test to check for newer updatedDate
2016-10-01 08:34:40 +02:00
Timo Schmidt
a26186f443 Implementation for issue https://github.com/nextcloud/news/issues/38
Instead of the array return type use component parameter PHP_URL_HOST
to get the host part from the URL as string. This avoids an undefined
index warning if host part could not be found.
2016-09-20 19:45:52 +02:00
Bernhard Posselt
c58b907917 fix last modified cropping 2016-08-28 09:12:45 +02:00
Bernhard Posselt
575a10ec2d fix last modified cropping 2016-08-28 09:11:53 +02:00
Bernhard Posselt
1f6af77fff only pad old timestamps 2016-08-28 08:56:45 +02:00
Bernhard Posselt
1576df5492 Merge pull request #25 from nextcloud/updated-api
Fix #24
2016-08-28 08:37:56 +02:00
Bernhard Posselt
4acfe5ab74 Fix #24 2016-08-28 08:36:42 +02:00
Bernhard Posselt
6236915770 Delete Upgrade.php 2016-08-25 22:50:38 +02:00
Bernhard Posselt
360a9f3054 Fix #20 2016-08-23 20:07:40 +02:00
Bernhard Posselt
4ff179dc80 derp2 2016-08-18 22:08:23 +02:00
Bernhard Posselt
70b8eb7bd4 derp 2016-08-18 22:04:02 +02:00
Bernhard Posselt
44792ace5b Try without 64bit requirement 2016-08-18 21:07:21 +02:00
Bernhard Posselt
fc1e804b23 fix eplore feeds section 2016-08-10 19:36:22 +02:00
Bernhard Posselt
87dd28cb6f fix milisecond timestamp on php 5.6 2016-07-24 22:09:05 +02:00
Bernhard Posselt
587d2f08da Fix admin 2016-07-24 08:50:06 +02:00
Bernhard Posselt
38e657a5d5 removing owncloud references and updating links 2016-07-23 22:02:21 +02:00
Bernhard Posselt
7a3a22bd27 Adjust copyright header 2016-07-23 21:32:42 +02:00
Bernhard Posselt
004fcbbcc7 Move to new directory structure 2016-07-23 21:24:54 +02:00
Bernhard Posselt
ac84b27965 reorganize folder 2013-03-21 16:32:36 +01:00
Bernhard Posselt
5492e60510 new style and style cleanup for the news app 2013-02-11 15:30:55 +01:00
Bernhard Posselt
ae7393db3d merged the angularjs branch 2013-01-27 04:15:53 +01:00
Nick Frey
207c085b30 Play audio podcasts from feeds in the News app 2012-11-28 16:57:07 -06:00
Alessandro Cosentino
7c5d3649a3 use the core functions for relative dates 2012-11-13 15:38:54 -05:00
Alessandro Cosentino
0e09443947 News: handle case where date is not specified in item (see issue #67) 2012-11-13 00:17:14 -05:00
Bart Visscher
25d3f68f1a Fix linkTo links for new url format
fix #176
2012-11-12 23:06:25 +01:00
Bernhard Posselt
ded22aaf4b removed unforseen overwrite of controller classes 2012-11-02 22:17:06 +01:00
Bernhard Posselt
77ce8c29ad deleted renamed file 2012-10-31 22:02:19 +01:00
Bernhard Posselt
e7b0267dc7 added docstrings to the changes 2012-10-31 22:02:19 +01:00
Bernhard Posselt
323dd4c9b1 added request object, added url function that does all the security checks, improved controller object 2012-10-31 22:02:19 +01:00
Alessandro Cosentino
4299b35e82 [News] fix bugs in feedById 2012-10-28 19:26:59 -04:00
Alessandro Cosentino
a7f7f04052 sharing items in the News app 2012-10-28 10:57:35 -04:00
Brice Maron
f0b81aa614 Small Style fix in news and gallery 2012-10-23 18:54:55 +00:00
Alessandro Cosentino
f17574c2b0 index accepts feedid as parameter; fix to make the search provider work and to have nice urls anyway 2012-10-19 14:14:49 -04:00
Alessandro Cosentino
b3baecc30e almost-working search provider 2012-10-18 00:18:57 -04:00
Alessandro Cosentino
1781450975 specifies name of the blog when showing items 2012-10-15 00:37:11 -04:00
Bart Visscher
1e37bc139b Whitespace cleanup 2012-10-14 21:15:47 +02:00
Bernhard Posselt
e5980c8141 fixed bug that prevented creating of folders, linted menu.js, fixed weird html escaping for feed titles, removed all database queries from templates 2012-10-13 05:03:05 +02:00
Bernhard Posselt
4b5f94b435 selecting folders works 2012-10-13 04:47:35 +02:00
Bernhard Posselt
dfcf639f2f refactored index php into controllers 2012-10-13 02:21:47 +02:00
Alessandro Cosentino
16564c20d5 still refactoring to make the firstrun page independent 2012-10-09 10:48:57 -04:00
Alessandro Cosentino
d5cd794c01 split firstrun template from main template 2012-10-08 20:23:32 -04:00
Alessandro Cosentino
008e565bed small refactoring on the backend 2012-09-13 11:17:02 -04:00
Bernhard Posselt
9fcfdae0c2 remember collapsed folders, simplyfied css and js 2012-09-08 19:11:22 +02:00
Thomas Mueller
a59854cc80 adding space between) and { 2012-09-07 15:21:03 +02:00
Bernhard Posselt
f702e689c1 removed xss vulnerabilities in template code 2012-09-06 03:48:18 +02:00
Thomas Mueller
190a070f15 no more require_once() 2012-09-05 23:28:59 +02:00
Bernhard Posselt
f8ce1854ba changing folder names works now 2012-09-02 17:09:59 +02:00
Bernhard Posselt
37158f2141 corrected param names for load, added enum for types 2012-09-01 21:02:00 +02:00
Robin Appelman
50b1b38d03 we can now use UNIX_TIMESTAMP in queries 2012-09-01 20:45:08 +02:00
Bernhard Posselt
2c86b31be1 implemented server side move feed to folder 2012-09-01 14:33:59 +02:00
Alessandro Cosentino
70a37497ff small layout changes; fix error with retrieving favicon 2012-08-20 19:50:53 -04:00
Alessandro Cosentino
3db8c52532 fixes issue with bitfield on postgresql 2012-08-19 22:24:16 -04:00
Alessandro Cosentino
32bd7c839c now saves item's author in db 2012-08-19 15:13:39 -04:00
Alessandro Cosentino
8bea9cf893 improves favicon detection 2012-08-19 13:49:58 -04:00
Alessandro Cosentino
41c310c5fc perform only a slim fetch in some cases 2012-08-18 03:16:40 -04:00
Bernhard Posselt
2c48b7ff48 Merge branch 'newsapp' of git://gitorious.org/owncloud/apps into newsapp 2012-08-17 12:42:48 +02:00
Gregor Tätzner
63a9acb95a Remove broken favicon handling from discoverFavicon.
Maybe re-add them later on or rework function.
2012-08-16 21:34:41 +02:00
Bernhard Posselt
296cad3a05 added javadoc for newly implemented queries 2012-08-16 20:57:56 +02:00
Bernhard Posselt
f61df85fe6 made starred items and all items work! 2012-08-16 20:26:06 +02:00
Bernhard Posselt
1154465787 added and formatted the feedtimestamp properly 2012-08-16 13:26:03 +02:00
Alessandro Cosentino
9132f6a27d saves and shows datetime of items 2012-08-16 01:13:16 -04:00
Bernhard Posselt
66f2c55cc0 merged 2012-08-15 18:31:03 +02:00
Alessandro Cosentino
c193d2447d small fixes on model 2012-08-15 12:27:32 -04:00
Bernhard Posselt
04ee5ea0dd removed useless query in foldermapper 2012-08-15 18:20:40 +02:00
Bernhard Posselt
8da2aeec78 folders can now only be create on the first level 2012-08-15 18:16:35 +02:00
Bernhard Posselt
4faac81356 fixed a bug that wouldnt let feeds show up nested in folders 2012-08-15 18:03:32 +02:00
Alessandro Cosentino
04497e9e68 shows counter when adding feed; fixes bug when removing folder 2012-08-15 09:51:12 -04:00
Alessandro Cosentino
0d5bd3a636 small things added to firstrun page and settings 2012-08-14 13:39:53 -04:00
Alessandro Cosentino
74129d1b9e database tables changed 2012-08-13 17:06:12 -04:00
Alessandro Cosentino
8aa247ca73 checks userid before deleting 2012-08-12 21:27:16 -04:00
Alessandro Cosentino
703e892b69 removes the Everything folder 2012-08-12 01:50:19 -04:00
Alessandro Cosentino
fcaa16f2ea adds a function to the item mapper to retrieve all items with a certain status 2012-08-11 17:59:43 -04:00
Alessandro Cosentino
0913349b9d fixes yet another namespace problem 2012-08-11 17:24:55 -04:00
Alessandro Cosentino
3443468538 fix namespace issues from previous commit 2012-08-11 12:19:37 -04:00
Alessandro Cosentino
48513e8e42 changes namespace to OCA\News 2012-08-11 11:39:03 -04:00
Alessandro Cosentino
837438ab0d Merge branch 'newsapp_cron' into newsapp 2012-08-10 10:42:21 -04:00
Alessandro Cosentino
a077e4ea2f importing opml becomes simple for debugging reasons (ignore SimplePie issues for now) 2012-08-10 00:12:38 -04:00
Jakob Sack
03b7bb8c06 News: fix bug in backgroundjobs 2012-08-09 22:09:39 +02:00
Jakob Sack
c4c0b56b22 Try to use backgroundjobs 2012-08-09 21:23:31 +02:00
Alessandro Cosentino
12720ebd14 refactores code of the opml importer 2012-08-05 15:49:25 -04:00
Gregor Tätzner
82cfb232c2 Show or hide items in rightcontent when creating or deleting feeds 2012-08-04 18:54:54 +02:00
Gregor Tätzner
91d194a5df Polish deleteAll functions. It's not necessary to use sql joins 2012-08-04 10:31:57 +02:00
Gregor Tätzner
7ebeeacf49 Fixed deletion of feed items on folder removal 2012-08-03 23:32:35 +02:00
Gregor Tätzner
fbcac103cf Fixed several issues in delete folder functions 2012-08-03 18:25:46 +02:00
Alessandro Cosentino
a4502857ec small fixes on previous commits 2012-08-03 00:35:45 -04:00
Gregor Tätzner
bdc5159324 Add feed to feed list instantly on feed adding
Reload is no longer necessary. There are still some issues - especially
the order of the feeds: atm the feed is just inserted at the beginning
2012-08-02 18:52:33 +02:00
Alessandro Cosentino
eca49d72c4 news app welcomes the new settings popup 2012-07-31 23:40:22 -04:00
Alessandro Cosentino
eda7f50864 fixes what broke in the last commit 2012-07-30 15:38:58 -04:00
Alessandro Cosentino
fd5b815e58 opml parser completed; still needs testing 2012-07-30 14:08:36 -04:00
Gregor Tätzner
b9e13dfda0 checkFavicon: also check for size 2012-07-23 21:56:58 +02:00
Gregor Tätzner
4abcc53a17 Use base url for extracting favicon 2012-07-23 21:02:49 +02:00
Gregor Tätzner
831dc688e0 Add more favicon detection and checking code 2012-07-23 18:43:54 +02:00
Gregor Tätzner
2580eb0600 Improve favicon file check 2012-07-22 10:41:39 +02:00
Gregor Tätzner
81e6a72a20 Improve favicon detection 2012-07-21 23:25:39 +02:00
Alessandro Cosentino
5ab51aa176 makes previous commit more logical 2012-07-21 13:50:52 -04:00
Gregor Tätzner
912374165b Add feed fallback icon and set a relative width on the feed list items. 2012-07-21 16:45:37 +02:00
Alessandro Cosentino
2259f86359 introduces field userid in the feed table to fix a bug in the update functions 2012-07-19 21:45:31 -04:00
Alessandro Cosentino
4ce3565909 update feeds works; need to be polished 2012-07-17 21:49:38 -04:00
Alessandro Cosentino
c378e972a1 adds favicon; needs css polishing 2012-07-17 17:37:54 -04:00
Alessandro Cosentino
05fd3ebe12 replace simplepie-dev with simplepie-stable 2012-07-17 15:24:26 -04:00
Alessandro Cosentino
c53efe6fa7 begins opml importer 2012-07-14 20:51:54 -04:00
Alessandro Cosentino
9118cc6752 fix add button 2012-07-14 15:31:52 -04:00
Gregor Tätzner
4ade56a7af Fixed evaluation and utilization of parentid in addfeed and addfolder. 2012-07-11 21:17:32 +02:00
Alessandro Cosentino
af0bf0486c update views when you remove a feed or mark item as read 2012-07-10 10:57:35 -04:00
Alessandro Cosentino
0b4106fab9 merging merge-requests7 2012-07-08 14:35:01 -04:00
Gregor Tätzner
7053772519 UI and model fixes
- added dropdown menu to choose parent in addfeedfolder setting
- added edit button to folder items
- foldermapper: also load children of children to show folder
  hierarchy
2012-07-08 17:37:35 +02:00
Alessandro Cosentino
4b154de452 mark as read item working now 2012-07-07 21:52:41 -04:00
Alessandro Cosentino
e4b145726f improves delete feed feature 2012-07-05 19:46:55 -04:00
Alessandro Cosentino
e5f291b09c button to remove folder 2012-07-05 17:22:24 -04:00
Alessandro Cosentino
fcd843bc0c shows articles in accordion view 2012-07-04 16:54:26 -04:00
Alessandro Cosentino
6948000198 everything is there but the fancyness 2012-07-04 14:51:47 -04:00
Alessandro Cosentino
72c730bf5f button to add feed; selection of a feed 2012-07-02 23:39:19 -04:00
Alessandro Cosentino
f8f6fd3d77 shows folder list 2012-06-30 20:02:00 -04:00
Alessandro Cosentino
6f3404ee97 adds controller to add a folder 2012-06-29 19:01:41 -04:00
Alessandro Cosentino
efd3ac96c8 prints name of folders in left view 2012-06-13 17:23:42 -04:00
Alessandro Cosentino
a03926f90e shows feeds in the left column 2012-06-13 14:39:07 -04:00
Alessandro Cosentino
b8ee15b220 forgotten file collection class in previous commit 2012-06-07 16:22:23 -04:00
Alessandro Cosentino
e583df60d3 creates a superclass collection for feeds and folders 2012-06-07 16:19:25 -04:00
Alessandro Cosentino
6f1204c3b9 starts the GUI 2012-06-06 13:34:19 -04:00
Alessandro Cosentino
200aebe1f4 fixes bug on status bitfield; tests storing the status in db 2012-06-04 18:17:11 -04:00
Alessandro Cosentino
48ca457419 renames some function; changes status of items in the database 2012-06-03 23:36:39 -04:00
Alessandro
3f35d59911 adds delete functions in the mapper 2012-06-02 11:40:35 -04:00
Alessandro Cosentino
91972e5dbe rename some fields of database schema 2012-05-30 19:22:26 -04:00
Alessandro Cosentino
39330d521b not add same items twice 2012-05-30 15:35:51 -04:00
Alessandro Cosentino
a6e57a9a1f adds indices to database schema 2012-05-29 16:07:12 -04:00
Alessandro Cosentino
07fdf6ad3c find a feed in the database by url;Detect when databse contains already a feed 2012-05-28 23:40:18 -04:00
Alessandro Cosentino
762b4d89bc decoupled fetcher and database mapper 2012-05-28 14:27:18 -04:00
Alessandro Cosentino
81734e9d4b pixel-align icons 2012-05-27 10:21:04 -04:00
Alessandro Cosentino
c3fac66ea4 remove db methods from Folder class 2012-05-26 17:02:04 -04:00
Alessandro Cosentino
6e91029b21 create opmlimporter class 2012-05-26 15:14:37 -04:00
Alessandro Cosentino
d8a193119f separates fetching/importing from the modelling classes 2012-05-23 15:14:10 -04:00
Alessandro Cosentino
97f76e8cc6 adds method to retrieve feed with all items from db 2012-05-23 13:02:27 -04:00
Alessandro Cosentino
5940e12a70 fix insert query because of NULL exception 2012-05-21 15:34:50 -04:00
Alessandro Cosentino
2a15c85cd9 fetching items from remote feed working now 2012-05-20 19:14:34 -04:00
Alessandro Cosentino
4d612fa6f0 new classes for the data mapping 2012-05-17 22:59:49 -04:00
Alessandro Cosentino
4353c8ab58 decoupled model class Feed and mapper class FeedMapper 2012-05-15 14:49:53 -04:00
Alessandro Cosentino
f8222c89af changed the version number to update db tables 2012-05-10 16:02:23 -04:00
Alessandro Cosentino
14115e04e3 added a rudimantal feed class (+ trying to save on DB) 2012-05-10 15:43:56 -04:00
Alessandro Cosentino
2ad605cb3a the OC_News_Item class now extends the SimplePie item class 2012-05-08 19:23:00 -04:00
Alessandro Cosentino
4bf4af8741 rudimental item class and tests on it 2012-05-08 15:57:08 -04:00