Commit Graph

485 Commits

Author SHA1 Message Date
Alexandre Alapetite
e399bc4b92 Remove warning for CURLOPT_FOLLOWLOCATION with open_basedir (#1734)
For PHP 5.6.0- http://www.php.net/ChangeLog-5.php#5.6.0
https://bugs.php.net/bug.php?id=65646
https://github.com/FreshRSS/FreshRSS/pull/1733
https://github.com/FreshRSS/FreshRSS/pull/1657
https://github.com/FreshRSS/FreshRSS/issues/1655
2017-12-17 20:14:20 +01:00
Kevin Papst
be3ed001a4 Fix favicon for open_basedir (#1733)
Remove open_basedir warning for CURLOPT_FOLLOWLOCATION with PHP 5.6.0- https://bugs.php.net/bug.php?id=65646
2017-12-17 17:46:04 +01:00
Alexandre Alapetite
e6c1c7d4cb Merge branch 'FreshRSS/dev' into Minz_Dispatcher_paths 2017-12-17 00:00:43 +01:00
Alexandre Alapetite
425958af5a Minz Dispatcher Controllers path
https://github.com/FreshRSS/FreshRSS/pull/1704
2017-12-16 22:33:49 +01:00
Alexandre Alapetite
92d9d77fe5 Add message after log rotation
https://github.com/FreshRSS/FreshRSS/pull/1712
https://github.com/FreshRSS/FreshRSS/issues/1562
2017-12-16 18:08:08 +01:00
Alexandre Alapetite
ccb829418d Merge pull request #1724 from kevinpapst/exception-bug
ExtensionManager fixes
2017-12-13 22:56:29 +01:00
Kevin Papst
417178e957 fixed bug in catch block
added types to docblocks
2017-12-13 21:59:02 +01:00
Alexandre Alapetite
52d0988655 Use __DIR__ for relative include and require
For uniformity, and to avoid having PHP searching in include_path.
http://php.net/manual/function.include.php
https://github.com/FreshRSS/FreshRSS/pull/1715
https://github.com/FreshRSS/FreshRSS/pull/1711#issuecomment-350581350
2017-12-11 21:11:34 +01:00
Alexandre Alapetite
b1c317a253 Log rotation, use Minz_Log, new log constants
ADMIN_LOG, API_LOG, PSHB_LOG
2017-12-10 21:58:24 +01:00
Kevin Papst
452886ea3a incorporated code review feedback 2017-12-09 13:52:05 +01:00
Kevin Papst
0480d4331c renamed method 2017-12-08 21:18:07 +01:00
Kevin Papst
a96b751d31 make sure that we do not exceed a certain file size for the users log file 2017-12-08 17:08:41 +01:00
Alexandre Alapetite
7490dfdc42 Merge pull request #1700 from candrews/patch-1
Call idn_to_ascii with INTL_IDNA_VARIANT_UTS46
2017-12-02 14:10:09 +01:00
Alexandre Alapetite
1cf545342e Remove forgotten punycode line 2017-12-02 14:03:19 +01:00
Craig Andrews
aea78f4d99 Call idn_to_ascii with INTL_IDNA_VARIANT_UTS46
Under PHP 7.2, calling `idn_to_ascii($idn)` results in a deprecation warning: 'INTL_IDNA_VARIANT_2003 is deprecated'
See https://secure.php.net/manual/en/function.idn-to-ascii.php 

Therefore, if possible, `idn_to_ascii($idn, 0, INTL_IDNA_VARIANT_UTS46)` should be used instead. `INTL_IDNA_VARIANT_UTS46` was introduced in PHP 5.4, so on versions before that, `idn_to_ascii($idn)` must still be used.

Fixed #1699
2017-12-01 18:42:15 -05:00
Olivier DOSSMANN
d651c41e0c [FIX] #1690 - Also check pdo_pgsql extension in check_install() 2017-11-18 09:38:20 +01:00
Alexandre Alapetite
1eb19409b5 CURLOPT_FOLLOWLOCATION open_basedir bug (#1657)
CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set
https://github.com/FreshRSS/FreshRSS/issues/1655#issuecomment-334999448
https://stackoverflow.com/questions/6918623/curlopt-followlocation-cannot-be-activated
2017-10-08 17:26:43 +02:00
Alexandre Alapetite
4058ff3ff4 Remove SimplePie name from HTTP User-Agent string
https://github.com/FreshRSS/FreshRSS/issues/1622#issuecomment-334928486
https://github.com/FreshRSS/FreshRSS/issues/1627
https://github.com/FreshRSS/FreshRSS/issues/1607
2017-10-07 13:51:45 +02:00
Alexandre Alapetite
92a1bf3917 Update some HTTP links (doc, HTTPS) (#1641)
https://github.com/FreshRSS/FreshRSS/issues/1605
2017-09-26 22:20:25 +02:00
Alexandre Alapetite
f293cec492 HTML5 show controls audio video (#1642)
* HTML5 show controls audio video

* Changelog 1642
2017-09-26 22:19:18 +02:00
Frans de Jonge
4e174ed9dd [ci] Add Travis (#1619)
* [ci] Add Travis

* Exclude some libs

* Semi-auto whitespace fixes

* line length in SQLite

* Exclude tests from line length

* Feed.php line length

* Feed.php: get rid of unnecessary concat

* Feed.php: line length

* bootstrap.php: no newline at end of file

* Allow concatenating across multiple lines

* Add Travis badge

* do-install line length

* update-or-create-user line length

* cli/create-user line length

* tests/app/Models/SearchTest.php fix indentation

* tests/app/Models/UserQueryTest.php fix indentation

* tests/app/Models/CategoryTest.php fix indentation

* [fix] PHP 5.3 on precise

* cli/do-install no spaces

* cli/list-users line length

* cli/reconfigure line length

* empty catch statements

* api/index line length nonsense

* spaces before semicolon

* app/Models/EntryDAO bunch of indentation

* extra blank lines

* spaces before comma in function call

* testing tabwidth

* increase to 10

* comment out tabwidth line

* try older phpcs version 3.0.0RC4

* line length exception for app/install.php

* proper spaces

* stray spaces in i18n

* Minz/ModelPdo line length

* Minz whitespace

* greader line length

* greader elseif placement

* app/Models/Feed.php spacing in function argument

* ignore php 5.3

* app/Models/ConfigurationSetter.php stray whitespace

* EntryDAOSQLite line length

* I vote for higher max line length =P

* ignore SQL

* remove classname complaint

* line length/more legible SQL

* ignore line length nonsense

* greader line length

* feedController issues

* uppercase TRUE, FALSE, NULL

* revert

* importExportController lowercase null

* Share.php default value not necessary because ! is_array () a few lines down

* CategoryDAO constants should be UPPERCASE

* EntryDAO reduce line length

* contentious autofix

* Allow failures on all versions of PHP except 7.1 because reasons
2017-09-22 12:13:46 +02:00
Alexandre Alapetite
a72ad940df Increase minimal support to PHP 5.3.8+
https://github.com/FreshRSS/FreshRSS/issues/1604
2017-08-21 12:29:12 +02:00
Alexandre Alapetite
dd65cb0f9c Manual merge upstream SimplePie 2017-05-28 02:02:21 +02:00
Alexandre Alapetite
e4ffbd3dad Move force-https.default.txt 2017-05-13 00:05:19 +02:00
Alexandre Alapetite
af8960b8b3 Move default configuration files
https://github.com/FreshRSS/FreshRSS/issues/1531
2017-05-12 23:33:58 +02:00
Jonas Östanbäck
e825822ba0 Add syslog_enabled in one more file create call 2017-05-09 19:16:57 +02:00
Jonas Östanbäck
d6bd90a801 Add syslog_enabled when creating new simplepie_file 2017-05-09 17:55:01 +02:00
Alexandre Alapetite
ed99245810 Minor favicon text
https://github.com/FreshRSS/FreshRSS/pull/1505
https://github.com/FreshRSS/FreshRSS/pull/1504
2017-04-23 18:23:37 +02:00
Alexandre Alapetite
2ffb00c37f Better handling of protocol-relative favicons
cd5f98ecdd
https://github.com/FreshRSS/FreshRSS/pull/1504
2017-04-23 18:00:48 +02:00
Alexandre Alapetite
8f6837b386 Favicon minor 2017-04-23 14:24:12 +02:00
Alexandre Alapetite
44c9ae51c4 Rewriten Favicon library using cURL
Reduce the number of requests, more robust, many more cases working,
reduced code
2017-04-23 14:06:37 +02:00
Alexandre Alapetite
f483a5e95b Favicon fix redirects
92b4259159
2017-04-23 01:59:09 +02:00
Alexandre Alapetite
57f1e9d657 Fix some bugs of Favicon 1.2
https://github.com/ArthurHoaro/favicon/pull/6
https://github.com/ArthurHoaro/favicon/pull/7
2017-04-22 23:36:41 +02:00
Alexandre Alapetite
1af1b3702e Use new version 1.2 of Favicon library 2017-04-22 18:56:00 +02:00
Alexandre Alapetite
9588112e50 Re-apply Favicon FreshRSS patches
Patches sent upstream https://github.com/ArthurHoaro/favicon/pull/5
2017-04-22 13:35:51 +02:00
Alexandre Alapetite
ca4138d021 Update to Favicon 1.2.0
https://github.com/ArthurHoaro/favicon/releases/tag/v1.2.0
2017-04-22 12:48:26 +02:00
Alexandre Alapetite
510045b3c5 Merge branch 'FreshRSS/dev' into multiuser-token 2017-04-10 19:46:22 +02:00
Alexandre Alapetite
0ce43be9de Multi-user token
https://github.com/FreshRSS/FreshRSS/issues/1390
https://github.com/FreshRSS/FreshRSS/issues/366
2017-04-09 00:25:04 +02:00
Alexandre Alapetite
a542ab8fff Make fileinfo extension optional 2017-04-08 18:12:12 +02:00
Alexandre Alapetite
fe494e000b try/catch for finfo_open 2017-04-08 18:03:52 +02:00
Alexandre Alapetite
07a9faf851 Check for fileinfo
https://github.com/FreshRSS/FreshRSS/issues/1402
https://github.com/FreshRSS/FreshRSS/issues/1461
2017-04-08 17:52:53 +02:00
Alexandre Alapetite
cc235c6af3 SimplePie light manual update 2017-03-26 15:02:35 +02:00
Alexandre Alapetite
6102489d57 Fix Favicon library warning
59dfc64512
https://github.com/FreshRSS/FreshRSS/issues/1445#issuecomment-284176492
2017-03-05 01:05:42 +01:00
Alexandre Alapetite
2818c72f5a Changelog CLI
https://github.com/FreshRSS/FreshRSS/issues/1443
https://github.com/FreshRSS/FreshRSS/pull/1444
https://github.com/FreshRSS/FreshRSS/issues/1445
https://github.com/FreshRSS/FreshRSS/pull/1447
https://github.com/FreshRSS/FreshRSS/issues/1448
https://github.com/FreshRSS/FreshRSS/issues/1449
2017-03-04 11:53:57 +01:00
Alexandre Alapetite
a7541315c3 Favicon DataAccess whitespace 2017-03-02 23:11:13 +01:00
Alexandre Alapetite
59dfc64512 Fix favicon warning
https://github.com/FreshRSS/FreshRSS/issues/1445
2017-03-02 23:10:36 +01:00
Alexandre Alapetite
9c012e6c81 Fix SQLite CLI install
https://github.com/FreshRSS/FreshRSS/issues/1445
https://github.com/FreshRSS/FreshRSS/issues/1443
https://github.com/FreshRSS/FreshRSS/issues/1443
2017-03-02 22:57:02 +01:00
Alexandre Alapetite
c67180530b Merge pull request #1444 from Alkarex/cli-install-sqlite
Fix CLI install bug with SQLite
2017-03-01 08:47:59 +01:00
Alexandre Alapetite
972cd0b908 Merge pull request #1441 from Alkarex/Sanitize-Website-URL
Sanitize Web site URL
2017-02-28 21:16:55 +01:00
Alexandre Alapetite
17296f99d2 Fix CLI install bug with SQLite
And improve requirements check
https://github.com/FreshRSS/FreshRSS/issues/1443
2017-02-28 21:12:47 +01:00