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
8e6ab12e89
Fix a bug in FreshRSS_Auth::giveAccess()
...
See https://github.com/FreshRSS/FreshRSS/issues/730
2015-01-06 22:43:24 +01:00
Marien Fressinaud
dd41642ce6
Fix calls to FreshRSS_Configuration
...
Replaced by a get_user_configuration() function in lib_rss.
This function register a new configuration based on the given username
and return the corresponding configuration.
See https://github.com/FreshRSS/FreshRSS/issues/730
2015-01-06 21:40:19 +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
c391ca62f1
Remove all old references to LOG_PATH
...
See https://github.com/FreshRSS/FreshRSS/issues/729
2014-12-28 18:05:02 +01:00
Marien Fressinaud
7a967e68ad
Merge branch 'dev' into 729-move_data
2014-12-21 17:54:37 +01:00
Marien Fressinaud
5f327abeec
Add recursive_unlink function in dev branch
2014-12-21 17:53:03 +01:00
Marien Fressinaud
966c061b3c
Fix listUsers function
...
See https://github.com/FreshRSS/FreshRSS/issues/729
2014-12-21 17:38:38 +01:00
Marien Fressinaud
b5bee85603
BREAKING FEATURE: move user data
...
- Create ./data/users/ folder
- Move user configuration to ./data/users/username/config.php
- Move sqlite db to ./data/users/username/db.sqlite
- Move user logs to ./data/users/username/log.txt
See https://github.com/FreshRSS/FreshRSS/issues/729
2014-12-21 13:10:02 +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
d455837c6d
Fix i18n for normal view
2014-12-11 00:00:15 +01:00
Marien Fressinaud
76358846ab
Implement extension deletion
...
See https://github.com/FreshRSS/FreshRSS/issues/252
2014-12-08 13:36:08 +01:00
Alexandre Alapetite
ba7d63e5ca
Temporarily remove scheme check in referer
...
If needed, we may re-introduce the check for scheme with proper support
for proxy
https://github.com/FreshRSS/FreshRSS/issues/565#issuecomment-61602425
2014-11-04 08:47:23 +01:00
Marien Fressinaud
ba832bef4d
Fix TODO in format_number()
2014-10-30 19:34:36 +01:00
Marien Fressinaud
036240ab01
Fix coding style formatNumber and formatBytes
2014-10-30 19:31:32 +01:00
Alexandre Alapetite
2e5d4d97c9
More limit options in config.php
...
See e.g. https://github.com/marienfressinaud/FreshRSS/issues/681
https://github.com/marienfressinaud/FreshRSS/issues/680
https://github.com/marienfressinaud/FreshRSS/issues/656
2014-10-28 22:29:55 +01:00
Marien Fressinaud
e86a3d0017
Fix pdo checking
...
Show only one message for both mysql and sqlite pdo conf. If one of them is ok,
PDO is ok.
See https://github.com/marienfressinaud/FreshRSS/issues/678
2014-10-26 12:40:42 +01:00
Marien Fressinaud
8a7bab3a55
Refactoring of indexController
...
Global view has been moved to a different action (all is not working)
See https://github.com/marienfressinaud/FreshRSS/issues/634
and https://github.com/marienfressinaud/FreshRSS/issues/655
2014-10-20 19:35:22 +02:00
Marien Fressinaud
61a2f9387f
Fix i18n (french and english)
2014-10-20 12:42:46 +02:00
Marien Fressinaud
7080a32650
Add checking installation feature
2014-10-20 11:54:31 +02:00
Alexandre Alapetite
6c1fe11395
SimplePie timeout preference
...
https://github.com/marienfressinaud/FreshRSS/issues/656
TODO: Make a user setting
2014-10-05 20:27:16 +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
fc7d2a0bf2
Move http referer test into lib_rss
...
Rename method (coding style)
Change in app/FreshRSS.php
Improve test of app/install.php
2014-09-17 14:21:56 +02:00
Marien Fressinaud
7900c5e550
Move htmlspecialchars_utf8 from Request to Helper
...
And remove html_chars_utf8 to use htmlspecialchars_utf8 instead in
importExportController
2014-08-12 21:56:34 +02:00
Alexandre Alapetite
274c8096e3
Experimental: Removed lazyload.js and use postpone attribute instead
...
https://github.com/marienfressinaud/FreshRSS/issues/316
The performance of lazyload.js was not good enough, and not really
needed anyway.
This change mostly affects mainly situations when the content of
articles is shown by default, not so much when they are collapsed
Using HTML5 lazyload and postpone attributes by default on all img,
audio, iframe, video.
http://www.w3.org/TR/resource-priorities/#attr-postpone
Postpone attribute is removed by JavaScript if the user does not want
the lazyload behaviour.
In the case when users do want the lazyload behaviour, in normal view
with articles hidden, we furthermore use the data-original approach to
be sure to support current browsers.
+Corrected some bugs with enclosures, and some images not appearing
before the first scroll.
+Now faster regex processing img and iframe at once (was not practical
with lazyload.js)
2014-08-02 19:57:15 +02:00
Alexandre Alapetite
bc8eb560af
Add TTL to control feed freshness
...
https://github.com/marienfressinaud/FreshRSS/issues/250
2014-07-06 00:09:31 +02:00
Alexandre Alapetite
3275018238
Cleaning some hash functions
2014-07-03 00:43:02 +02:00
Marien Fressinaud
9ea3819402
Better OPML import / export
...
- use a new OPML library (https://github.com/marienfressinaud/lib_opml )
- import has been completely rewritten (far better!)
- introduce addFeedObject and addCategoryObject (in DAO for the moment).
Permit to add easily feeds and categories (check if they already exist in DB)
- introduce html_chars_utf8 (wrap htmlspecialchars for UTF-8)
2014-03-29 20:18:57 +01:00
Alexandre Alapetite
5081ffaf39
Minz: remove one layer of ob_ (experimental)
...
https://github.com/marienfressinaud/FreshRSS/issues/303#issuecomment-38351311
https://github.com/marienfressinaud/FreshRSS/issues/163
* Remove Minz_Response (not needed anymore)
* Move Minz_Request::reseted to Minz_Dispatcher::reset()
2014-03-22 17:56:07 +01:00
Alexandre Alapetite
11b807e4c3
Bug usernames with uppercase
...
https://github.com/marienfressinaud/FreshRSS/issues/439
2014-03-02 00:08:45 +01:00
Alexandre Alapetite
db120b4ed4
Test si crypt() fonctionne pour PHP 5.3.3
...
https://github.com/marienfressinaud/FreshRSS/issues/432
2014-02-23 12:16:23 +01:00
Alexandre Alapetite
5e9c60752c
Actualize : Tolère PHP lancé en CGI plutôt que CLI
...
Corrige https://github.com/marienfressinaud/FreshRSS/issues/405
+ Message d'erreur en cas de problème de droits dans ./data/ (par
exemple si le cron utilise un mauvais utilisateur)
2014-02-01 12:23:12 +01:00
Alexandre Alapetite
fdefc8c731
Formatage des nombres
...
https://github.com/marienfressinaud/FreshRSS/pull/398
2014-01-27 22:35:27 +01:00
Alexandre Alapetite
3f15f847c0
Filtre <link />
...
Corrige https://github.com/marienfressinaud/FreshRSS/issues/400
2014-01-27 17:58:02 +01:00
Alexandre Alapetite
1031c19779
Formatage nombres
...
Implémente https://github.com/marienfressinaud/FreshRSS/issues/395
2014-01-26 17:11:24 +01:00
Alexandre Alapetite
bc6aba67bb
Bug récupération flux tronqués
...
Corrige https://github.com/marienfressinaud/FreshRSS/issues/381
2014-01-22 21:34:59 +01:00
Alexandre Alapetite
6f117abfb6
Bugs chargement des articles complets
...
Corrige https://github.com/marienfressinaud/FreshRSS/issues/365
Ajoute le nettoyage correct du HTML par SimplePie, ainsi que le décodage
des caractères HTML dans l'URL, et enfin un message dans le syslog pour
chaque article téléchargé
2014-01-18 22:54:53 +01:00
Alexandre Alapetite
5360ec9851
bug get_html_translation_table sur PHP < 5.3.4
...
Corrige https://github.com/marienfressinaud/FreshRSS/issues/337
2014-01-02 22:08:51 +01:00
Alexandre Alapetite
dd190ed382
Ligne HTTP cache oubliée
...
Cette ligne est utile lorsqu'un même utilisateur consulte FreshRSS
depuis plusieurs appareils en même temps.
2014-01-01 17:39:19 +01:00
Alexandre Alapetite
bd5d7a7bcb
Cache HTTP compatible multi-utilisateur
...
Contribue à https://github.com/marienfressinaud/FreshRSS/issues/126
2013-12-30 15:00:41 +01:00
Alexandre Alapetite
92efd68a3a
Début de mode multi-utilisateur avec http_auth
...
+ Légère optimisation de Minz_View.
+ Encore plus de tests de bibliothèques dans install.php
Contribue à https://github.com/marienfressinaud/FreshRSS/issues/126 et
https://github.com/marienfressinaud/FreshRSS/issues/303
2013-12-30 01:03:32 +01:00
Alexandre Alapetite
96bdbafcea
Refactorisation FreshRSS_Configuration
...
Implémente https://github.com/marienfressinaud/FreshRSS/issues/260
(évite les comparaisons de chaînes au profit des vrais booléens et
entiers)
Grosse simplification et réduction du code relatif à la configuration.
Supprime ConfigurationDAO.
Permet de simplifier considérablement configureController.
Évite de multiples copies des mêmes données en mémoire.
Évite de garder plusieurs versions de la configuration en mémoire
(auparavant : dans un tableau au niveau de ModelArray + au niveau de
FreshRSS_Configuration + en Session + des copies temporaires comme
ConfigurationDAO).
Ne stocke plus 'conf' en Session (n'était presque pas utilisé).
Évite de recharger plusieurs fois Translate inutilement.
Contribue à https://github.com/marienfressinaud/FreshRSS/issues/303
2013-12-28 23:09:39 +01:00
Alexandre Alapetite
45b2decce0
HTTP Auth user
...
https://github.com/marienfressinaud/FreshRSS/issues/126
2013-12-28 01:24:54 +01:00
Alexandre Alapetite
8ffa896e68
Liste d'utilisateurs
...
Contribue à https://github.com/marienfressinaud/FreshRSS/issues/126
2013-12-28 01:01:31 +01:00
Alexandre Alapetite
2063f967c6
Création de lib_opml pour alléger lib_rss
...
Et suppression de fonctions inutilisées
2013-12-28 00:31:52 +01:00
Alexandre Alapetite
11b1d06b8c
Chargement différé des iframe
...
Implémente https://github.com/marienfressinaud/FreshRSS/issues/313
(uniquement pour la vue en articles repliés)
2013-12-23 00:01:00 +01:00
Alexandre Alapetite
3dc50cbd66
Compatibilité contenu HTML pour Feed->description
...
Implémente https://github.com/marienfressinaud/FreshRSS/issues/325
2013-12-19 23:32:24 +01:00
Alexandre Alapetite
f3a50c3ce8
Import feed->description en HTML
...
Ne pas protéger feed->description à l'import OPML, car c'est
potentiellement du HTML. Il faudrait faire du sanitize néanmoins.
2013-12-19 22:21:44 +01:00
Alexandre Alapetite
daefb8f095
Caractères spéciaux feed->description
...
Feed->description est en HTML, il faut protéger les caractères spéciaux
lors de certaines sorties.
2013-12-19 22:11:58 +01:00