Commit Graph

79 Commits

Author SHA1 Message Date
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
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
Alexis Degrugillier
a891df3283 Merge pull request #1829 from aledeg/improve-i18n-tools
Improve i18n tools
2018-03-12 23:37:26 +01:00
Alexandre Alapetite
ebfb170b14 Minor docs 2018-03-12 21:24:24 +01:00
Alexis Degrugillier
f4da012940 Add option to ignore keys in cli tool 2018-03-11 10:53:32 +01:00
Alexis Degrugillier
2f98978f6d Improve error catching 2018-03-10 16:32:35 +01:00
Alexis Degrugillier
948b44ee1e Change code to be more robust
The code doesn't rely on positionnal arguments anymore. It uses options.
I've added some check to validate that the action performed are configured
properly.
2018-03-10 16:23:00 +01:00
Alexis Degrugillier
67c173f79b Add new tools to manipulate translations (#1818)
I've added a tool to add a new translation for a specific key and language.
I've added a tool to format the i18n files.

This is one of the steps to improve the translation process.
2018-03-04 14:41:40 +01:00
Alexandre Alapetite
71918dbc5a New Docker (#1813)
* Draft of new Docker

Based on Alpine Linux. Size ~78MB.
https://github.com/FreshRSS/docker-freshrss/issues/4
https://github.com/FreshRSS/FreshRSS/issues/520
https://github.com/FreshRSS/docker-freshrss
https://github.com/FreshRSS/docker-freshrss-production

* Docker readme

* +x execution rights prepare

* Docker readme links to hub.docker.com

https://hub.docker.com/r/freshrss/freshrss/
2018-03-04 01:02:02 +01:00
Alexis Degrugillier
a2312a608a Improve translating tools (#1808)
To ease the use of the translating tools, I've added a formatting method to
keep the output files identicals. This will reduce the amount of time needed
to handle translations.
2018-03-03 10:26:54 +01:00
Alexis Degrugillier
ac3e38359b Allow admin user to reset passwords (#1765)
See #960
2018-02-14 22:15:34 +01:00
Seokseong Jeon
fb541b1bac [i18n] Translated to Korean (#1776) 2018-01-31 10:06:45 +01:00
hoilc
b285a83c65 [i18n] Add ignore/zh-cn and update simplified Chinese translation (#1769)
* update Simplified Chinese translation

* update the description of buttons #1766

* trim space to pass PHPCS
2018-01-16 17:41:49 +01:00
Frans de Jonge
568eccd3a8 [i18n] Add translation ignore/nl (#1752) 2017-12-25 22:48:21 +01:00
Jan
f172bee12d Fixes link to the "update guidelines" (#1740) 2017-12-19 18:40:48 +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
Kevin Papst
5c52d9b34b Check requirement in CLI script (#1711)
* check requirements in actualize_script before executing, fixes #1710

* removed empty whiteline

* testing all requirements

* incorporated code review feedback

* removed code that is already executed in _cli.php

* added newline at eof

* fixed include problems

* fixed include problems
2017-12-10 22:09:54 +01:00
Kevin Papst
b562639155 Documentation updates (#1697)
* added documentation about updating FreshRSS
moved Installation to admin directory
linked some already existing documentation files
2017-12-02 13:43:28 +01:00
Alexis Degrugillier
05b1901fcd Move translation tools into the cli folder (#1673)
Translation tools must be used on cli. It is better to have them in the cli folder.
2017-11-04 21:17:08 +01:00
Alexandre Alapetite
f632a34626 CLI optimize database (#1663)
CLI optimize database https://github.com/FreshRSS/FreshRSS/issues/1583
And VACUUM in SQLite https://github.com/FreshRSS/FreshRSS/issues/918
Add VACUUM for PostgreSQL (Not tested yet)
2017-10-12 20:11:06 +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
d0281a9f35 typo update-or-create-user 2017-08-19 16:19:03 +02:00
Alexandre Alapetite
5d4e4a8dd0 Fix script name in usage 2017-08-05 23:10:02 +02:00
Alexandre Alapetite
673b6e48b0 Mutualise create-user and update-user 2017-08-05 18:27:47 +02:00
Alexandre Alapetite
03a99c2408 Merge branch 'FreshRSS/dev' into cli_update_user 2017-07-27 09:40:53 +02:00
Alexandre Alapetite
1138c8a63b CLI usage typo
https://github.com/FreshRSS/FreshRSS/pull/1602#issuecomment-318188437
2017-07-27 09:40:47 +02:00
Alexandre Alapetite
e5b7586a3d CLI update-user usage 2017-07-23 00:14:01 +02:00
Alexandre Alapetite
a11517dc9a updateContextUser typo 2017-07-22 20:37:50 +02:00
Alexandre Alapetite
e6fadbe580 +x execution rights update-user 2017-07-22 20:23:53 +02:00
Alexandre Alapetite
e046791c93 CLI update user
https://github.com/FreshRSS/FreshRSS/issues/1600
Not tested
2017-07-22 20:05:36 +02:00
Alexandre Alapetite
c3f2302be7 Update username constraints
https://github.com/FreshRSS/FreshRSS/issues/1597
2017-07-22 15:47:13 +02:00
Alexandre Alapetite
99c7450343 Simplify readme
Remove cd and sudo
https://github.com/FreshRSS/FreshRSS/pull/1544#discussion_r118556797
2017-05-26 09:45:29 +02:00
Alexandre Alapetite
20d1301b46 Do not require write access to check new version
Do not require write access to check if new ZIP version is available
https://github.com/FreshRSS/FreshRSS/issues/1450
2017-05-25 14:27:31 +02:00
Alexandre Alapetite
21954d6d83 More git readme 2017-05-25 14:02:55 +02:00
Alexandre Alapetite
f57aaebeb8 Readme more advanced git commands
https://github.com/FreshRSS/FreshRSS/issues/1542
2017-05-25 13:46:16 +02:00
Alexandre Alapetite
af8960b8b3 Move default configuration files
https://github.com/FreshRSS/FreshRSS/issues/1531
2017-05-12 23:33:58 +02:00
Seokseong Jeon
09787cfd7a actualizeFeed return number of new articles as 3rd 2017-05-03 22:56:56 +09:00
Alexandre Alapetite
f6148e1f32 CLI user-info readme
https://github.com/FreshRSS/FreshRSS/issues/1449#issuecomment-284191560
https://github.com/FreshRSS/FreshRSS/issues/1447
2017-03-05 00:23:23 +01:00
Alexandre Alapetite
37957d45b2 Allows do-install.php only if data/do-install.txt exists
https://github.com/FreshRSS/FreshRSS/issues/1449
2017-03-03 23:15:50 +01:00
Alexandre Alapetite
ada94465e6 CLI: More infos in user-info
https://github.com/FreshRSS/FreshRSS/issues/1449#issuecomment-283927614
2017-03-03 23:01:33 +01:00
Alexandre Alapetite
c544f510d2 CLI: install language
https://github.com/FreshRSS/FreshRSS/issues/1445#issuecomment-283908468
2017-03-03 11:55:58 +01:00
Alexandre Alapetite
ae1bf1f56f CLI do no list un-created user admin
https://github.com/FreshRSS/FreshRSS/issues/1448
2017-03-03 11:47:04 +01:00
Alexandre Alapetite
992a811df6 CLI add language to install
https://github.com/FreshRSS/FreshRSS/issues/1445
2017-03-02 23:04:38 +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
Alexandre Alapetite
271a1fdc89 Missing checkUsername and const patten
https://github.com/FreshRSS/FreshRSS/pull/1423

https://github.com/YunoHost-Apps/freshrss_ynh/issues/27#issuecomment-279792363
2017-02-25 12:39:08 +01:00
Clément
2e871a0adf Merge branch 'dev' into feature/username-in-cli 2017-02-25 10:20:59 +01:00
Alexandre Alapetite
745f0ae014 Changelog 1436, 1439
https://github.com/FreshRSS/FreshRSS/issues/1424
https://github.com/FreshRSS/FreshRSS/issues/1432
https://github.com/FreshRSS/FreshRSS/pull/1436
https://github.com/FreshRSS/FreshRSS/pull/1439
2017-02-24 23:21:23 +01:00
Alexandre Alapetite
7757f9c2b2 Merge pull request #1439 from dswd/cli-reconfigure
Added cli tool to reconfigure FreshRSS
2017-02-24 23:00:44 +01:00
Alexandre Alapetite
686311463b Merge pull request #1436 from dswd/disable-update
Add config option to disable and hide self-update
2017-02-24 22:46:47 +01:00
Dennis Schwerdel
1fc3054c2f Added cli tool to reconfigure FreshRSS 2017-02-24 07:54:31 +01:00