Commit Graph

88 Commits

Author SHA1 Message Date
Alexandre Alapetite
fe18d12551 Update MySQL to utf8mb4 (full unicode) 🔥
* Requires MySQL 5.5.3+ (drop support for MySQL 5.0)
* Requires PHP 5.3.3+ (drop support for PHP 5.3.0)
https://github.com/FreshRSS/FreshRSS/issues/789#issuecomment-73878076
2016-07-30 18:45:34 +02:00
Alexandre Alapetite
91593cecd2 But when adding feeds with passwords
https://github.com/FreshRSS/FreshRSS/issues/1131
2016-04-24 14:50:31 +02:00
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
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
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
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
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
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
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
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
Marien Fressinaud
73023bc12b Merge branch 'dev' into 252-extensions
Conflicts:
	app/FreshRSS.php
	app/Models/Configuration.php
	app/views/index/index.phtml
	app/views/index/normal.phtml
	lib/Minz/Configuration.php
	lib/Minz/Translate.php
	lib/lib_rss.php
2015-01-08 14:18:32 +01:00
Marien Fressinaud
09545b0a65 Fix calls to remove_query_by_get()
The function has been moved into lib_rss.php

See https://github.com/FreshRSS/FreshRSS/issues/730
2015-01-07 15:37:24 +01:00
Marien Fressinaud
d3a93ea290 BREAKING FEATURE: Remove general in config
General attribute has been removed from system config.
Now subattributes (e.g. environment, salt, title, etc.) are directly accessible.

YOU HAVE TO FIX YOUR ./data/config.php file!

- Remove the general array
- Values inside this array must be kept
- To see what it must look like, please have a look to ./data/config.default.php
  (but keep your values!!).

See https://github.com/FreshRSS/FreshRSS/issues/730
2015-01-06 18:53:36 +01:00
Marien Fressinaud
d27efeec04 Fix Controllers to use the correct config system
See https://github.com/FreshRSS/FreshRSS/issues/730
2015-01-06 17:38:31 +01:00
Marien Fressinaud
7cca47d1ab Change name of user configuration var in Context
- FreshRSS_Context::$conf is replaced by FreshRSS_Context::$user_conf
- Introduce FreshRSS_Context::$system_conf
- Remove FreshRSS_Configuration object

See https://github.com/FreshRSS/FreshRSS/issues/730
2015-01-05 22:45:03 +01:00
Marien Fressinaud
0b89867800 Merge branch 'dev' into 252-extensions
Conflicts:
	app/i18n/en/admin.php
	app/i18n/en/feedback.php
	app/i18n/en/gen.php
	app/i18n/fr/admin.php
	app/i18n/fr/feedback.php
	app/i18n/fr/gen.php
	app/views/index/normal.phtml
2014-12-17 21:41:33 +01:00
Marien Fressinaud
fee1ae997a Fix i18n for conf, entry, error, feed Controllers 2014-12-11 19:02:05 +01:00
Marien Fressinaud
70c1f0ebb0 Fix redirection after feed refresh
Fix https://github.com/FreshRSS/FreshRSS/issues/716
2014-12-09 12:43:33 +01:00
Marien Fressinaud
28c77f2290 Fix a bug with feed_before_insert hook
$feed->name() was called on a null value.

See https://github.com/FreshRSS/FreshRSS/issues/252
2014-12-08 13:12:12 +01:00
Marien Fressinaud
188b517daa Add a feed_before_insert hook
See https://github.com/FreshRSS/FreshRSS/issues/252
2014-12-08 13:05:56 +01:00
Marien Fressinaud
7ef4d6c033 Fix entry_before_insert hook
The hook must be called also in:
- feedController->addAction()
- importExportController->importJson()

See https://github.com/FreshRSS/FreshRSS/issues/252
2014-12-07 14:39:02 +01:00
Marien Fressinaud
08546af75f Add a first draft for hooks
- New Extension->registerHook($hook_name, $hook_function) method to register a new hook
- Only one hook works for the moment: entry_before_insert
- ExtensionManager::callHook will need to evolve based on future hooks

See https://github.com/FreshRSS/FreshRSS/issues/252
2014-12-06 18:48:00 +01:00
Marien Fressinaud
58deab37cd Fix Minz_Error::error() -> use default values 2014-10-30 19:57:08 +01:00
Marien Fressinaud
cf7350af47 Update i18n for limit of feeds
See https://github.com/marienfressinaud/FreshRSS/issues/680
2014-10-29 10:21:34 +01:00
Alexandre Alapetite
4cbd7e0583 Bug: unlock was not done for feeds with error 2014-10-28 23:32:55 +01:00
Alexandre Alapetite
c6f35ef51c Global limits for number of feeds and categories
New 'limits' sub-array in config.php with 'max_feeds' and
'max_categories'. If the values are < 0, then it is the default value
(16384).
https://github.com/marienfressinaud/FreshRSS/issues/680
2014-10-27 21:45:30 +01:00
Marien Fressinaud
1a22a87fb1 Use FreshRSS_Context::$conf only
- Replace $this->view->conf in controllers
- Replace $this->conf in views
2014-10-20 18:45:22 +02:00
Marien Fressinaud
79aa5beaf4 Refactor authentication system.
Big work, not finished. A lot of features have been removed.

See https://github.com/marienfressinaud/FreshRSS/issues/655
2014-10-06 23:29:20 +02:00
Marien Fressinaud
d65a9f9bd6 Refactor entryController
- Coding style
- Refactoring
- Comments (set of TODO)

See https://github.com/marienfressinaud/FreshRSS/issues/655
2014-10-06 11:59:27 +02:00
Marien Fressinaud
e2da6e6e6b Refactor feedController
See https://github.com/marienfressinaud/FreshRSS/issues/655
2014-10-05 23:20:16 +02:00
Marien Fressinaud
d8f4681382 Replace Minz_Log::record by corresponding methods
Please not use Minz_Log::record anymore!

See https://github.com/marienfressinaud/FreshRSS/issues/655
2014-10-05 19:35:29 +02:00
Marien Fressinaud
9a0d01be0c Coding style
Remove spaces before parenthesis.

See https://github.com/marienfressinaud/FreshRSS/issues/655
2014-10-05 18:24:28 +02:00
Marien Fressinaud
6c8b36f04e Let's begin the big refactoring!
Minz_Translate::t\s? replaces by _t

See https://github.com/marienfressinaud/FreshRSS/issues/655
2014-10-05 15:55:20 +02:00
Marien Fressinaud
5474803aa7 Add a TODO in feedController 2014-10-05 10:57:50 +02:00
Marien Fressinaud
dd945df0cb Fix category not change (updating feed on MySQL)
See https://github.com/marienfressinaud/FreshRSS/issues/646
2014-10-03 12:54:10 +02:00
Marien Fressinaud
94520ee326 Fix category not appear on feed.add page (GET)
Must apply to 0.8.1 and 0.9.1

See https://github.com/marienfressinaud/FreshRSS/issues/649
2014-10-02 22:02:09 +02:00
Marien Fressinaud
408ac31dd8 Hack for dragleave (triggered on children!)
See https://github.com/marienfressinaud/FreshRSS/issues/646
2014-10-02 19:02:43 +02:00
Marien Fressinaud
db4da3babc First draft for drag and drop
We can change feed category by drag and drop! Need improvements...

See https://github.com/marienfressinaud/FreshRSS/issues/646
2014-10-02 11:39:51 +02:00
Marien Fressinaud
a7bf7ced36 Fix links for feed management
See https://github.com/marienfressinaud/FreshRSS/issues/646
2014-10-01 12:18:32 +02:00