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