Commit Graph

3730 Commits

Author SHA1 Message Date
Girish Ramakrishnan
fa3532dc8e Use realpath of EXTENSIONS_PATH (#1911)
This handles the case where the extensions directory might be a symlink
2018-06-01 23:19:23 +02:00
Alexandre Alapetite
4c8f147238 Suppress XML error during conversion attempt (#1909)
Using LIBXML_NOERROR. Seems to be necessary for newer PHP versions
because the at sign does not suppress warnings. In a FreshRSS-specific
SimplePie section.

Warning: DOMDocument::loadXML(): Namespace prefix media on content is
not defined in Entity, line: 42 in
/..../FreshRSS/lib/SimplePie/SimplePie/Parser.php on line 144
2018-05-31 19:22:02 +02:00
Bartłomiej Cieszkowski
1cba18e3ef Typo: FressRSS -> FreshRSS (#1908)
@bartlomiejcieszkowski 81e014d096
2018-05-30 09:22:04 +02:00
Alexandre Alapetite
e98e40b7b4 Fix check default category, and PostgreSQL seq bug (#1907)
checkDefault() was broken as it was not necessarily creating the default
category with the right ID.
PostgreSQL required additional care.
https://github.com/FreshRSS/FreshRSS/issues/1890#issuecomment-392869777
https://github.com/FreshRSS/FreshRSS/pull/1322
https://github.com/FreshRSS/FreshRSS/issues/1312#issuecomment-254009397
2018-05-29 23:55:31 +02:00
Upils
66ff16294a Correct docker-compose.yml file and add a corresponding note in the doc. (#1906)
* Add a docker compose example.

Using postgresql and with traefik specific labels.

* Added docker-compose specific documentation.

* Move docker-compose section at the end of the README.md.

* Correct docker-compose.yml file and add a corresponding note in the doc.

* Typo in doc.
2018-05-29 22:28:30 +02:00
Alexandre Alapetite
4ec1ebade4 Feed attributes only for admin (#1905)
* Feed attributes only for admin

https://github.com/FreshRSS/FreshRSS/pull/1838

* Changelog 1905

https://github.com/FreshRSS/FreshRSS/pull/1905
2018-05-29 19:11:28 +02:00
Frans de Jonge
18443963b9 [i18n] Finish Dutch translation (#1903) 2018-05-28 23:54:16 +02:00
Alexandre Alapetite
1801f44bfc Fix import: invalid variable scope (#1901)
* Fix import: invalid variable scope

https://github.com/FreshRSS/FreshRSS/issues/1890
https://github.com/FreshRSS/FreshRSS/pull/1315

* Changelog 1890

https://github.com/FreshRSS/FreshRSS/issues/1890
https://github.com/FreshRSS/FreshRSS/pull/1901
2018-05-28 23:33:48 +02:00
Alexandre Alapetite
58fb9ea5b3 Fix CLI no_default_feeds (#1900)
* Fix CLI no_default_feeds

The option was not working anymore

* Changelog 1900

https://github.com/FreshRSS/FreshRSS/pull/1900
2018-05-28 22:14:10 +02:00
Alexandre Alapetite
d514dc50af Add Pocket share (#1899)
* Add Pocket share

https://github.com/FreshRSS/FreshRSS/issues/1884#issuecomment-388988200
https://github.com/FreshRSS/FreshRSS/issues/1051

* Pocket i18n
2018-05-28 21:13:42 +02:00
Alexandre Alapetite
7ebc56e8d3 Fix null exception in shares (#1898)
https://github.com/FreshRSS/FreshRSS/issues/1824
https://github.com/FreshRSS/FreshRSS/issues/1884
2018-05-28 20:55:44 +02:00
Alexandre Alapetite
5a835f22ce Fix changelog link 2018-05-26 23:19:34 +02:00
Alexandre Alapetite
ce75410315 Changelog 1888
https://github.com/FreshRSS/FreshRSS/issues/1888
https://github.com/FreshRSS/FreshRSS/pull/1889
2018-05-26 23:16:00 +02:00
Bartłomiej Cieszkowski
0ffc006a7e 1888 postgresql unix socket workaround (#1889)
* Workaround to enable postgres unix socket instead of tcp

* Support Unix sockets for MySQL and PostgreSQL
2018-05-26 23:13:14 +02:00
Alexandre Alapetite
4ff6613989 Fix CLI for creating/deleting user with Fever API (#1896)
* Fix CLI for creating user with Fever API

https://github.com/FreshRSS/FreshRSS/pull/1836

* Fix CLI for deleting user with Fever API

https://github.com/FreshRSS/FreshRSS/pull/1836
2018-05-26 11:44:17 +02:00
Alexandre Alapetite
defbc5d6a5 Minor readme whitespace 2018-05-24 22:29:37 +02:00
Alexandre Alapetite
c4cb988ccf Changelog 1836
https://github.com/FreshRSS/FreshRSS/issues/1406
https://github.com/FreshRSS/FreshRSS/pull/1836
https://github.com/FreshRSS/FreshRSS/issues/1861
2018-05-24 22:16:45 +02:00
Kevin Papst
8f1bad60d0 Add Fever API and user documentation (#1836)
* added fever api and documentation

* spaces to tabs

* fixed code format

* added links

* added utf8 to header

* removed XML support

* removed before check, as we have to convert it afterwards

* added sandboxed setting (currently disabled)
added support for extensions using entry_before_display

* listFeedsOrderUpdate LIMIT

https://github.com/FreshRSS/FreshRSS/pull/1836/files#r175287881

* removed custom sql by using FreshRSS_FeedDAO::listFeedsOrderUpdate()

* fixed mark all as read

* replaced custom sql for getUnread() and getStarred() with dao functions

* removed sanitization functions

* Rework fever login

* Fix config bug

Plus documentation

* Fix array syntax

For compatibility with PHP 5.3

* Disable cookies and session for API

* Fix currentUser

* added response header and error log

* adjusted phpdoc to match new authentication

* Mechanism to delete old keys

* replace PHP_INT_MAX with zero to disable limit

* replace method_exists with check for explicit methods

* removed Press support and smaller refactoring + updated docu

* Rewrite bindParamArray

Avoid one of the SQL injection risks

* Docs and readme

* Fix API link

* Simplify reverse key check

Using userConfig
2018-05-24 21:53:47 +02:00
Alexandre Alapetite
6c0daa0355 Changelog 1892
https://github.com/FreshRSS/FreshRSS/issues/1892
https://github.com/FreshRSS/FreshRSS/pull/1893
2018-05-22 08:55:49 +02:00
Alexandre Alapetite
c96b5ff34a SimplePie fix for Atom feeds using namespace for type (#1893)
https://github.com/FreshRSS/FreshRSS/issues/1892
2018-05-22 08:49:11 +02:00
Alexandre Alapetite
8afce0753a Changelog 1891
https://github.com/FreshRSS/FreshRSS/pull/1891
https://framateam.org/freshrss/pl/q8mqryc4abbaixjxxditzrxgsh
2018-05-20 23:27:16 +02:00
Alexandre Alapetite
f17417e95c Strip credentials from HTTP Referer (#1891)
0edf390187/library/SimplePie/File.php (L109)
Candidate for pull-request upstream to SimplePie
2018-05-20 23:23:48 +02:00
David souza
7e9a29b719 add shebang to actualize script (#1886)
* add shebang to actualize script

* Update actualize_script.php
2018-05-20 12:27:17 +02:00
Alexandre Alapetite
9e393445bb Changelog 1887
https://github.com/FreshRSS/FreshRSS/pull/1887
2018-05-20 12:25:52 +02:00
Alexandre Alapetite
92e8c4b6bf Merge branch 'dev' of https://github.com/FreshRSS/FreshRSS into FreshRSS/dev 2018-05-20 12:21:41 +02:00
Alexandre Alapetite
6881d362b1 Detection of non-unique GUIDs (#1887)
* Detection of non-unique GUIDs

Some feeds are using GUIDs, but fail to make them unique.
Example: https://www.kbh-sprogcenter.dk/en/category/danish-break/feed/
This patch detects non-unique GUIDs, and disable GUIDs in that specific
case.

* Add state and log
2018-05-20 12:17:08 +02:00
Alexandre Alapetite
fd7b0c1e78 Changelog 1882
https://github.com/FreshRSS/FreshRSS/pull/1882
2018-05-20 12:04:12 +02:00
Frans de Jonge
967dc041a7 [i18n] Add hint about adding #force_feed to URL (#1879)
Fixes #1878
2018-05-20 11:57:46 +02:00
ColonelMoutarde
a8ffde6263 add visibility "public" (#1849) 2018-05-19 13:16:51 +02:00
Upils
0ccda74571 Add a docker compose example. (#1882)
* Add a docker compose example.

Using postgresql and with traefik specific labels.

* Added docker-compose specific documentation.

* Move docker-compose section at the end of the README.md.
2018-05-09 09:57:46 +02:00
Alexandre Alapetite
bde96ec8ea Changelog 1877
https://github.com/FreshRSS/FreshRSS/pull/1877
https://github.com/FreshRSS/FreshRSS/issues/1841#issuecomment-376551901
2018-05-01 21:57:30 +02:00
Alexandre Alapetite
0513ba8d9f Use HTML autocomplete new-password (#1877)
* Use HTML autocomplete new-password

https://github.com/FreshRSS/FreshRSS/issues/1841#issuecomment-376551901
autocomplete="new-password" for user management pages

https://developer.mozilla.org/en-US/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion

* autocomplete username

https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-autocomplete-username
2018-05-01 21:50:45 +02:00
Alexandre Alapetite
e1b30f0da8 Changelog 1838
https://github.com/FreshRSS/FreshRSS/pull/1838
https://github.com/FreshRSS/FreshRSS/issues/891
https://github.com/FreshRSS/FreshRSS/issues/1702
https://github.com/FreshRSS/FreshRSS/issues/1811
2018-05-01 17:09:11 +02:00
Alexandre Alapetite
b552abb332 JSON column for feeds (#1838)
* Draft of JSON column for feeds
https://github.com/FreshRSS/FreshRSS/issues/1654

* Add some per-feed options
  * Feed cURL timeout
  * Mark updated articles as read https://github.com/FreshRSS/FreshRSS/issues/891
  * Mark as read upon reception https://github.com/FreshRSS/FreshRSS/issues/1702
  * Ignore SSL (unsafe) https://github.com/FreshRSS/FreshRSS/issues/1811

* Try PHPCS workaround
While waiting for a better syntax support
2018-05-01 17:02:11 +02:00
Alexandre Alapetite
404ca869e9 Tab to spaces in multiline shell
Copy pasting the commands was not working due to tabs, in e.g. Ubuntu
terminal.
2018-04-26 17:13:03 +02:00
ColonelMoutarde
1b8ab5199b strict comparaision for null (#1874)
With booleans and null, only strict comparison (with === operator) should be used to lower bug risks and to improve performances.
2018-04-26 16:34:10 +02:00
Alexandre Alapetite
db133f9bb3 Changelog 1873
https://github.com/FreshRSS/FreshRSS/pull/1873
2018-04-26 13:55:58 +02:00
Alexandre Alapetite
90998c2437 Apache overrides were not enough (#1873)
It looks like overrides of CustomLog, ErrorLog, Listen did not do the
job fully.
Updated to comment out those lines in httpd.conf.
Fixes the fact that logs were kept in /var/log/apache2/ (instead of
being only given via STDOUT to Docker logs) and the "internal dummy
connection" bug over IPv6 (Docker is typically only IPv4).
2018-04-26 13:52:44 +02:00
Alexandre Alapetite
2b8da263ca Changelog 1871 etc.
https://github.com/FreshRSS/FreshRSS/issues/879
https://github.com/FreshRSS/FreshRSS/pull/1828
https://github.com/FreshRSS/FreshRSS/pull/1829
https://github.com/FreshRSS/FreshRSS/issues/1844
https://github.com/FreshRSS/FreshRSS/pull/1845
https://github.com/FreshRSS/FreshRSS/pull/1856
https://github.com/FreshRSS/FreshRSS/pull/1857
https://github.com/FreshRSS/FreshRSS/pull/1858
https://github.com/FreshRSS/FreshRSS/issues/1869
https://github.com/FreshRSS/FreshRSS/pull/1871
2018-04-26 12:30:06 +02:00
Alexandre Alapetite
4381117a19 cron in Docker image (#1871)
* cron in Docker image

https://github.com/FreshRSS/FreshRSS/issues/1869

* Fix cron CMD

* Minor readme

* Docker run d instead of dit

There should not be a need for STDIN or TTY

* Minor sed param
2018-04-26 12:00:14 +02:00
Alexandre Alapetite
d454e90d29 Merge pull request #1837 from renzo38/dev
Selinux FAQ
2018-04-26 08:40:36 +02:00
Henry
28403cd6aa SeLinux context
Prefer apply rights to the whole data instead of individual subdir
2018-04-26 08:32:07 +02:00
Henry
f62d69e1f4 Selinux FAQ
Add PubSubHubbub sub directory
2018-04-26 07:46:15 +02:00
Kevin Papst
6cda39a2f1 fix update user for empty username (#1857) 2018-04-06 20:52:33 +02:00
Kevin Papst
6b9be92263 [UI] fix active check in subscription menu (#1858) 2018-04-06 20:26:08 +02:00
Kevin Papst
7c39c8024d [i18n] latest german translations (#1856) 2018-04-01 15:40:04 +02:00
Alexandre Alapetite
633350566e Merge pull request #1845 from Alkarex/fix-muted
Fix mute feeds
2018-03-25 13:21:10 +02:00
Alexandre Alapetite
16d4d5185e Fix mute feeds
https://github.com/FreshRSS/FreshRSS/issues/1844
2018-03-25 10:34:46 +02:00
Alexandre Alapetite
b2c02f50c1 Merge pull request #1833 from Alkarex/logo-svg
SVG version of FreshRSS logo + text
2018-03-24 14:05:01 +01:00
Henry
67c608d44f Typo
fix typo + apply command to sub dir
2018-03-18 12:46:55 +01:00