91 Commits

Author SHA1 Message Date
Marien Fressinaud
b8f53b0525 Add an option to choose content width
- 4 options: thin, medium, large and no limit
- Thin is by default
2014-06-05 22:26:18 +02:00
Marien Fressinaud
e70933dfeb Update links to change view
- Dropdown menu is transformed into stick buttons
- 3 new icons (view-normal, view-global, view-reader)
- Link to access RSS is now next to these buttons (should we kept it
  here?)
2014-06-05 21:25:21 +02:00
Alexandre Alapetite
d1b31b1a61 Search order of filters
For now, process them in the same order as specified by the user
Specifying for instance `date:` first will be much faster than
specifying a free text word first.
https://github.com/marienfressinaud/FreshRSS/issues/511
2014-06-01 15:23:30 +02:00
Alexandre Alapetite
ecac55d3d3 New search system, including date: and pubdate: and combination
Now also accepts combination of #tag and intitle: and inurl: and author:
and the new date: and pubdate:
https://github.com/marienfressinaud/FreshRSS/issues/511
Each search prefix stop at the first space (we should add a possibility
to have quotes for multiple words)
So if you want two words in title, write "intitle:word1 intitle:word2"

Examples of dates:
date:2014
date:2014-02/2014-04 or date:201402/201404
date:P1W for the last week
2014-06-01 14:40:38 +02:00
Alexandre Alapetite
c3178a4f89 Add video control for podcasts
https://github.com/marienfressinaud/FreshRSS/issues/504
2014-05-14 09:07:30 +02:00
Alexandre Alapetite
7f1c305c86 Add audio control for podcasts
https://github.com/marienfressinaud/FreshRSS/issues/504
2014-05-13 22:30:24 +02:00
Alexis Degrugillier
f820f428ef Add a shortcut to access the search field 2014-04-27 11:00:25 -04:00
Alexandre Alapetite
f25783ef5d Minor syntax changes for: New toggle buttons to filter articles
See
http://programmers.stackexchange.com/questions/23852/bitwise-or-vs-adding-flags
https://github.com/marienfressinaud/FreshRSS/pull/486
https://github.com/marienfressinaud/FreshRSS/issues/376
2014-04-15 12:16:31 +02:00
Alexis Degrugillier
3a736e902c Move state constants from Configuration to Entry 2014-04-13 08:16:43 -04:00
Alexis Degrugillier
1e032608a6 Change rss icon fallback value 2014-04-13 07:39:33 -04:00
Alexis Degrugillier
cd87e2000a Revert deletion of the favorite actions 2014-04-13 07:35:17 -04:00
Alexis Degrugillier
86066b1659 Add a new status for 'ALL'
I made the conversion in every file I can think of.
It should not have any reference to the string 'all' for the state context
2014-04-13 07:28:41 -04:00
Alexis Degrugillier
d25afa9def Extract RSS feed from menu
The RSS action has now its own button. I also reorganized the button display order to be more natural.

I did not find an appropriate Unicode replacement for the Rss icon.
2014-04-12 22:46:35 -04:00
Alexis Degrugillier
3e665bcf9a Delete favorite button
I extract drop-down menu actions to make them as button action in the page header.
I removed the favorite button on the category list because it is a duplicate from the button action.
Now button action act as filters and you can combine them.

It is a test to see if we can keep it like that. There is still work to do to extract other actions from the drop-down list.
I did not want to change everything if we don't keep it.

See #376 and #277
2014-04-12 11:51:44 -04:00
Marien Fressinaud
779afe9c4e Import of articles is implemented!
- Remove massiveImportAction and addCategories from FeedController
- Fix typo for some methods (camelCase)
- addCategoryObject and addFeedObject return id if corresponding object already
  exists in DB
- introduce addEntryObject. Return -1 if Entry already exist (in order to keep
  quite good performances)
- Complete importArticles method

Need some more tests + better performance
2014-03-30 14:28:13 +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
5bf511c00f Bug feed name with special chars
https://github.com/marienfressinaud/FreshRSS/issues/462
2014-03-16 21:15:28 +01:00
Alexis Degrugillier
1af723ca68 Add a button to reveal/hide password
I add a button on the configure user interface to reveal the password for 2 seconds and hide it after that period.

See #442

I am not sure if the fallback unicode text for the icon is correct. I can not make it work.
2014-03-15 07:20:42 -04:00
Alexandre Alapetite
670ee57b62 Interface to enable/disable API and unsafe automatic login
https://github.com/marienfressinaud/FreshRSS/issues/13
https://github.com/marienfressinaud/FreshRSS/issues/440
2014-03-08 20:16:10 +01:00
Alexis Degrugillier
339a0dd49c Change test on URL parameter 2014-03-08 09:23:59 -05:00
Alexis Degrugillier
b0a3610db7 Change test 2014-03-08 09:18:07 -05:00
Alexis Degrugillier
e9eca6aff6 Sharing optimization
Change the storage and display of sharings to improve the time needed to generate the page.
Instead of looking for a default value when displaying the sharing links, they are added
during the configuration.
2014-03-08 09:18:06 -05:00
Alexandre Alapetite
fc6769c1b1 API: Add continuation mode
https://github.com/marienfressinaud/FreshRSS/issues/443
Needed for e.g. EasyRSS
2014-03-03 21:25:14 +01:00
Alexis Degrugillier
80d576dac7 Add a default URL value 2014-03-02 09:24:02 -05:00
Alexandre Alapetite
00774f5a0b API : SQL optimisation WHERE ... IN, and better compatibility EasyRSS
https://github.com/marienfressinaud/FreshRSS/issues/13
2014-03-02 11:54:52 +01:00
Alexandre Alapetite
71f7ce1be5 API: SQL optimisation
https://github.com/marienfressinaud/FreshRSS/issues/13
2014-03-01 15:47:15 +01:00
Alexandre Alapetite
29b3bbfe28 API: Real password system
https://github.com/marienfressinaud/FreshRSS/issues/13
Expiring token not implemented yet
2014-03-01 14:45:58 +01:00
Alexandre Alapetite
f44683b567 API streamContents for categories and feeds
https://github.com/marienfressinaud/FreshRSS/issues/13
2014-02-28 20:22:50 +01:00
Alexandre Alapetite
6dffb8706f Alpha version of Google Reader compatible API
https://github.com/marienfressinaud/FreshRSS/issues/13
Hardcoded passwords, no possibility to add/delete feeds or edit
categories yet.
2014-02-27 22:48:11 +01:00
Alexis Degrugillier
1e105a64ab Add a configuration option to get sticky articles
Now the user can choose if an opened article will be repositioned to the top or not

See #338
2014-02-24 19:51:57 -05:00
Alexandre Alapetite
166009f362 Sharing: Compatibility 0.7
https://github.com/marienfressinaud/FreshRSS/pull/433
2014-02-23 21:55:45 +01:00
Alexis Degrugillier
27764b3635 Improve sharing
Previously, the share page can handle only a limited number of shares and only one of each type.
Now the configuration has been change to be more flexible and allows an unlimited number of shares.
The share description is located in an array and the share configuration is stored along with the
user configuration.

Note: I tried to include the specific javascript code in a separate file but I did not succeded to
import it.
2014-02-22 17:03:36 -05:00
Alexandre Alapetite
7313f9f3a3 Bug "mark all as read" when using DESC and pagination and no scroll
https://github.com/marienfressinaud/FreshRSS/issues/431#issuecomment-35774488
2014-02-21 22:32:29 +01:00
Alexandre Alapetite
06abbd02c2 Rafraîchit uniquement les flux qui n'ont pas déjà été rafraîchis récemment
Contribue à https://github.com/marienfressinaud/FreshRSS/issues/351
2014-02-11 22:10:55 +01:00
Alexandre Alapetite
0cabd1f50d Mutex par flux pour les actualisations
Contribue à https://github.com/marienfressinaud/FreshRSS/issues/351
Nouvelle constante TMP_PATH comme répertoire pour stocker des fichiers
temporaires (si possible en mémoire et non sur disque, tel tmpfs pour
/tmp sur certaines distributions Linux)
Requiert PHP 5.2.1+ (contre 5.2.0 auparavant) pour le
`sys_get_temp_dir()`
2014-02-11 21:48:10 +01:00
Alexandre Alapetite
18403d9720 SQL : Supprime c.color
Implémente décision
https://github.com/marienfressinaud/FreshRSS/issues/295
Install.php pourrait peut-être être mis à jour pour supprimer
automatiquement la colonne, mais ce n'est pas fait dans ce patch.
2014-02-11 15:30:52 +01:00
Alexandre Alapetite
7fa620cce5 SimplePie Fuite de mémoire PHP 5.2
https://github.com/marienfressinaud/FreshRSS/issues/415
http://simplepie.org/wiki/faq/i_m_getting_memory_leaks
(Pas testé)
2014-02-08 15:57:19 +01:00
Alexis Degrugillier
aa63f9f64f Merge branch 'dev' into shortcuts
Ajoute le défilement automatique de l'article quand le partage est sélectionné.

Conflicts:
	p/scripts/main.js
2014-02-04 22:56:46 -05:00
Alexandre Alapetite
9aab83af11 SimplePie : Meilleur cache des flux avec signature MD5
Contribue à
https://github.com/marienfressinaud/FreshRSS/issues/351#issuecomment-31755012
Pour les flux qui ne supportent pas les requêtes conditionnelles.
Filtre les tags et commentaires gênants avant la signature (style
<lastBuildDate> qui change tout le temps sans que le contenu change,
<slash:comments>, ainsi que les commentaires XML qui détruisent le cache
comme <!-- généré en X secondes -->)

Il reste quelques flux à débogger dont le cache n'est pas encore
optimal. C'est pour cela qu'il reste quelques syslog(LOG_DEBUG, ...).

Au passage, évite que SimplePie fasse une double requête pour vérifier
le cache si le serveur est un peu lent.

Un jour, il faudra nettoyer les changements faits à SimplePie et leur
remonter les patchs les plus intéressants.
2014-02-02 22:09:16 +01:00
Alexis Degrugillier
a201450b58 Modification des raccourcis de navigation
Modification du raccourci pour naviguer au premier article (Home au lieu de Shift+j)
Modification du raccourci pour naviguer au dernier article (End au lieu de Shift+k)
Ajout de modificateurs pour utiliser les touches de navigation dans d'autres contextes (Shift pour les flux, Ctrl pour les catégories)

Voir issue#256
2014-02-02 10:07:30 -05:00
Alexandre Alapetite
02d1dac0bb Rafraîchissement des flux en cache compatible multi-utilisateurs
Compatibilité multi-utilisateurs pour la mise à jour rapide des flux
avec cache
Correction de
cf8ee6bd48 (commitcomment-5247478)
Contribue à
https://github.com/marienfressinaud/FreshRSS/issues/351#issuecomment-31755012
2014-02-01 20:13:42 +01:00
Alexandre Alapetite
cf8ee6bd48 Rafraîchissement des flux en cache super rapide
Contribue à
https://github.com/marienfressinaud/FreshRSS/issues/351#issuecomment-31755012
Les flux non-modifiés et en cache ne coûtent maintenant presque plus
rien (304, ou délai de cache SimplePie non expiré), alors qu'avant
toutes les entrées étaient rechargées
2014-02-01 14:04:37 +01:00
Marien Fressinaud
dbfa922835 Changement du nom poche en wallabag
Le nom de poche a été changé en wallabag suite à "l'affaire Pocket".
Le changement a été impacté partout même au niveau du fichier de conf. À
priori ce n'est pas très impactant puisque poche n'est introduit que
dans cette version et qu'il ne devrait pas y avoir "trop" de testeurs.
Au pire si l'adresse poche/wallabag disparaît lors d'une migration, il
suffit de la ressaisir, ce n'est pas critique :)

Voir #397
2014-01-27 21:03:58 +01:00
Alexis Degrugillier
b0641fd0eb Modification des statistiques.
Ajout de la liste des 10 plus gros contributeurs
Ajout de règles CSS pour les thèmes Flat et Dark
Modification de l'affichage des camemberts (tri par nombre qui remplace le tri alphabétique)
2014-01-26 08:54:52 -05:00
Alexis Degrugillier
e98ac32716 Ajout de statistiques de l'application
Conflicts:
	app/i18n/en.php
	app/i18n/fr.php
2014-01-25 15:15:04 -05: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
f720d41cbf Mise à jour nom thèmes + chargement robuste des thèmes
Renomme : default -> Origine
En cas de thème introuvable, charge le thème par défaut, sinon le
premier disponible.
https://github.com/marienfressinaud/FreshRSS/issues/120
2014-01-13 22:27:22 +01:00
Alexandre Alapetite
eb50ab3b61 Mot de passe + nonce serveur
Début de https://github.com/marienfressinaud/FreshRSS/issues/104
2014-01-11 16:48:10 +01:00
Alexis Degrugillier
46a5bdea25 Ajout d'un filtre sur les articles lus
Ajout d'un filtre sur les articles favoris
2014-01-08 00:05:00 -05:00