Commit Graph

371 Commits

Author SHA1 Message Date
Alexandre Alapetite
7f91dbf16d SQLite: Articles from old FreshRSS are marked as unread on update
Bug fixed https://github.com/FreshRSS/FreshRSS/issues/1049
2016-03-06 15:32:58 +01:00
Alexandre Alapetite
3b2f9533c3 Merge pull request #1078 from Alkarex/CSP-no-inline
Content-Security-Policy
2016-02-28 12:13:19 +01:00
Alexandre Alapetite
c9d3d78340 CSP manually refreshing feeds
https://github.com/FreshRSS/FreshRSS/issues/1075
2016-02-27 17:51:13 +01:00
Alexandre Alapetite
05ba5bc569 Do not log article updates
It seems to work well, and there are too many such updates.
BTW, we should have a verbose/insane log level.
2016-02-22 21:10:35 +01:00
Marien Fressinaud
697817eebf Make auto-update server URL alterable
See https://github.com/FreshRSS/FreshRSS/issues/1019
2015-11-02 21:14:13 +01:00
Marien Fressinaud
bb0556543d Move auto-update server URL in configuration
Fix https://github.com/FreshRSS/FreshRSS/issues/1019
2015-11-02 21:11:23 +01:00
Marien Fressinaud
d677495ca3 Merge pull request #1016 from Alkarex/login403
HTTP 403 for invalid login
2015-10-27 20:31:57 +01:00
Alexandre Alapetite
c992b683a8 PHP 5.2 compatibility
https://github.com/FreshRSS/FreshRSS/pull/1016
https://github.com/FreshRSS/FreshRSS/issues/1015
It is first PHP 5.5 that added support for accessing characters within
string literals using []...
2015-10-26 17:38:32 +01:00
Alexandre Alapetite
ad1f0cb96b Return after 403
https://github.com/FreshRSS/FreshRSS/pull/1016
https://github.com/FreshRSS/FreshRSS/issues/1015
2015-10-25 19:31:41 +01:00
Alexandre Alapetite
7bb28c3f2b HTTP 403 for invalid login
https://github.com/FreshRSS/FreshRSS/issues/1015
And does not leak if user exists or not
2015-10-25 13:24:48 +01:00
Alexandre Alapetite
481c2a6719 Clean logs
Reduced login of API and PubSubHubbub (both are quite stable now).
When clearing logs as admin, also clear API and PubSubHubbub logs.
https://github.com/FreshRSS/FreshRSS/issues/988
2015-10-24 22:25:48 +02:00
Alexis Degrugillier
d396dd7152 Add instance name in system configuration page 2015-08-24 18:41:57 -04:00
Alexis Degrugillier
269c6b88c4 Add a system configuration page
It allows to modify system configuration from the interface. At the moment, only limits are modifiable. The user limit was removed from the user page and added here along with categories and feeds limits.
2015-08-22 09:33:58 -04:00
Marien Fressinaud
f4472fc918 Do not use PubSubHubbub if disabled
See https://github.com/FreshRSS/FreshRSS/issues/865
2015-07-23 13:59:40 +02:00
Marien Fressinaud
f0a1b26584 Add title to the account creation page
See https://github.com/FreshRSS/FreshRSS/issues/679
2015-07-22 23:06:46 +02:00
Marien Fressinaud
8751c344f3 Ask password to user before deleting its account
See https://github.com/FreshRSS/FreshRSS/issues/679
2015-07-22 22:58:00 +02:00
Marien Fressinaud
3a929138b0 Give possibility to delete its own account
See https://github.com/FreshRSS/FreshRSS/issues/679
2015-07-22 14:22:26 +02:00
Marien Fressinaud
f560c44a00 Hide registration form if max registration reached
See https://github.com/FreshRSS/FreshRSS/issues/679
2015-07-22 14:00:08 +02:00
Marien Fressinaud
02c3546440 Registration action is handled and create a user
See https://github.com/FreshRSS/FreshRSS/issues/679
2015-07-22 13:52:03 +02:00
Marien Fressinaud
9fca5c70f3 Add some comments 2015-07-22 12:20:00 +02:00
Marien Fressinaud
37f0679958 First draft for registration form
See https://github.com/FreshRSS/FreshRSS/issues/679
2015-07-21 16:03:46 +02:00
Marien Fressinaud
ac8bd3d251 Add a max_registrations limit
- Allow user to create accounts (not implemented)
- Admin only can set this limit

See https://github.com/FreshRSS/FreshRSS/issues/679
2015-07-21 15:31:23 +02:00
Alexandre Alapetite
079150eee4 Updated log visibility
In particular, ensure that ERROR is only used for errors that may affect
FreshRSS integrity, and ensure that feed errors are visible also in
production, i.e. visibility of WARNING
https://github.com/FreshRSS/FreshRSS/issues/885
https://github.com/FreshRSS/FreshRSS/issues/884
2015-07-03 23:47:18 +02:00
Alexandre Alapetite
8a131b056e Force autocomplete off
https://github.com/FreshRSS/FreshRSS/issues/880
Put a space in the user field instead of empty to avoid autocomplete.
Use feed ID in the username/password field name.
2015-06-14 16:22:33 +02:00
Alexandre Alapetite
137c498c84 Merge from dev
https://github.com/FreshRSS/FreshRSS/issues/312
2015-06-01 19:40:30 +02:00
Alexandre Alapetite
694dfa1f8b PubSubHubbub: remove white list
The tests so far are good. Ready to test more broadly.
https://github.com/FreshRSS/FreshRSS/pull/831
https://github.com/FreshRSS/FreshRSS/issues/312
2015-05-23 16:37:08 +02:00
Alexandre Alapetite
27d2b88a19 Minz getBaseUrl correction and RSS template bug
https://github.com/FreshRSS/FreshRSS/issues/848
Corrections in Minz (HTTP_HOST was not sanitized, getURI() was never
used and not working anyway with absolute base_url)
$this->url was not defined in rss.phtml
2015-05-23 02:23:38 +02:00
Alexandre Alapetite
001c713f03 PubSubHubbub better gestion of errors
Do not assume that PubSubHubbub works until the first successul push
https://github.com/FreshRSS/FreshRSS/issues/312#issuecomment-102706500
2015-05-17 22:06:11 +02:00
Alexandre Alapetite
84ea636d2d PubSubHubbub bug skip pull
Do not pull refresh feeds that are PubSubHubbub too often during cron
refresh.
And more debugging info during the test phase.
https://github.com/FreshRSS/FreshRSS/pull/831
2015-05-16 23:44:36 +02:00
Alexandre Alapetite
3adab4b70f More PubSubHubbub
https://github.com/FreshRSS/FreshRSS/issues/312
Show whether PubSubHubbub is enabled in the Web interface of feed
configuration.
When PubSubHubbub is used, do not pull refresh so often (hard-coded to
max once per 24h for now).
Improved logic for lease renewal, and some detection of lease problems.
Updated read-me and changelog.
2015-05-16 13:05:43 +02:00
Alexandre Alapetite
18831a89ef PubSubHubbub active only when refreshing, not adding a feed
https://github.com/FreshRSS/FreshRSS/issues/312
2015-05-15 15:46:51 +02:00
Alexandre Alapetite
5adaf17721 Revert bug HTTP 301 introduced by Refactor feedController
e2da6e6e6b
2015-05-15 15:38:54 +02:00
Alexandre Alapetite
c472569b38 First alpha of PubSubHubbub
https://github.com/FreshRSS/FreshRSS/issues/312
Using a white list limited to http://push-pub.appspot.com/feed for alpha
testing.
2015-05-15 15:34:51 +02:00
Alexandre Alapetite
256c8613a4 First draft of PubSubHubbub
https://github.com/FreshRSS/FreshRSS/issues/312
Requires setting base_url in config.php.
Currently using the filesystem (no change to the database)
2015-05-15 03:21:36 +02:00
Alexandre Alapetite
79f0f2bbb4 Bug Page 403 ne peut s'afficher si Translate n'est pas instancié avant
https://github.com/FreshRSS/FreshRSS/issues/821
2015-05-10 18:21:21 +02:00
Alexandre Alapetite
0d0c6b7493 Moved updated/unread option from global to user
https://github.com/FreshRSS/FreshRSS/issues/798
2015-05-10 14:04:12 +02:00
Alexandre Alapetite
5f545dfda2 Global option to mark updated articles as unread
https://github.com/FreshRSS/FreshRSS/issues/798
2015-05-10 12:14:38 +02:00
Alexandre Alapetite
9934668444 SQL: more robust purge
https://github.com/FreshRSS/FreshRSS/issues/798
https://github.com/FreshRSS/FreshRSS/issues/493
2015-05-09 23:37:56 +02:00
Alexandre Alapetite
7f7de31c1d SQL: update request for updated articles
https://github.com/FreshRSS/FreshRSS/issues/798
2015-05-09 13:07:54 +02:00
Alexandre Alapetite
711530a512 SQL: detection of updates, and preparation for better burge
https://github.com/FreshRSS/FreshRSS/issues/798
https://github.com/FreshRSS/FreshRSS/issues/493
SQLite not yet tested. Only MySQL tested so far.
2015-04-04 22:39:31 +02:00
Alexis Degrugillier
5b90e1f4a0 Introduce user queries objects
There is now an object to manipulate user queries. It allows to move logic to handle those from the view and the controller in the model.
Thus making the view and the controller easier to read.
I introduced a new interface to start using dependency injection. There is still some rough edges but we are moving in the right direction.
The new object is fully tested but it still need some improvements, for instance, it is still tied to the search object.
There might be a better way to do that.
2015-03-05 13:29:41 +01:00
Alexis Degrugillier
1156129593 Use the search object to get values in the search
It is now possible to combine multiple keywords to do a search. The separation of concern is better now since the search extraction is not done in the DAO anymore.
At the moment, a multiple keyword search is stored as this. It could be nice to have it rendered differently in the search page to make it more readable.
At the moment, there is a problem with search enclosed by ". Same search works well when enclosed by '.
2015-02-21 09:46:21 -05:00
Marien Fressinaud
c741fba06c Update lib_opml.php
- lib_opml was not in its newest version
- FRSS supports OPML file without text attributes

Fix https://github.com/FreshRSS/FreshRSS/issues/758
2015-01-21 10:50:53 +01:00
Alexandre Alapetite
d30b3becfa Addressed warnings when reading from new files
There were warnings when reading extensions (trying to use e.g. README
and .gitignore as directories), and when reading update file.
https://github.com/FreshRSS/FreshRSS/issues/733
2015-01-19 13:54:57 +01:00
Marien Fressinaud
517d5aa9c5 Fix feed update with MySQL/MariaDB
- updateFeed() returns 0 if nothing changes so the test was false.
- Redirection in case of error is better now by redirecting on the right feed

Fix https://github.com/FreshRSS/FreshRSS/issues/755
2015-01-18 12:49:49 +01:00
Marien Fressinaud
d91a92434f Fix Minz_Error and error_Controller
- Error code and logs was not propagated from Minz_Error to the controller
- header was bad (200 instead of 404 or 403)

Related to https://github.com/FreshRSS/FreshRSS/issues/751
2015-01-18 11:47:16 +01:00
Marien Fressinaud
fa2254cd31 Fix i18n string for errors in feed management
See https://github.com/FreshRSS/FreshRSS/issues/755
2015-01-17 23:09:38 +01:00
Marien Fressinaud
13cf8b5f9f Improve hook calls and add post_update hook
- To the hook is associated a method signature (OneToOne or NoneToNone for now) so
  it is easier to call hooks correctly
- post_update hook is called during the post update moment.
2015-01-15 12:02:42 +01:00
Marien Fressinaud
556f4ad4bf Remove restriction of 1h for update checking 2015-01-15 11:20:16 +01:00
Marien Fressinaud
789d9fc6c8 Fix coding style in extension manager
Yep, same as 8968288...
2015-01-14 23:40:18 +01:00