Commit Graph

195 Commits

Author SHA1 Message Date
Marien Fressinaud
d284958d52 Improve redirection when deleting an idle feed 2014-09-19 19:44:40 +02:00
Marien Fressinaud
07d123f1aa Load $nb/2 articles when reading view
Fix 7d5e57b35b
See https://github.com/marienfressinaud/FreshRSS/issues/559
2014-09-19 18:47:49 +02:00
Marien Fressinaud
ae4ecd8e09 Coding style (user queries) 2014-09-19 15:44:33 +02:00
Marien Fressinaud
ba378791c2 Fix blank page for invalid user queries
Add a "deprecated" information

See https://github.com/marienfressinaud/FreshRSS/issues/625
2014-09-19 13:52:50 +02:00
Marien Fressinaud
0947b780c9 Merge branch 'dev' of github.com:marienfressinaud/FreshRSS into dev 2014-09-18 15:42:00 +02:00
Marien Fressinaud
94915f1c0a Reset auth system: i18n and style
See https://github.com/marienfressinaud/FreshRSS/issues/521
2014-09-18 15:32:59 +02:00
Marien Fressinaud
d2799d168e Improve resetAuth redirections
See https://github.com/marienfressinaud/FreshRSS/issues/521
2014-09-18 15:09:47 +02:00
Marien Fressinaud
f727a13836 Improve reset auth system
- Add bcrypt.js in resetAuthAction()
- Rename init_loginForm() in init_crypto_form()
- Load init_crypto_form() everytime (if no #crypto-form, do nothing)
2014-09-18 14:50:54 +02:00
Marien Fressinaud
23609ad858 Add page for reset auth type [NOT WORKING]
See https://github.com/marienfressinaud/FreshRSS/issues/521
2014-09-18 14:18:00 +02:00
Alexandre Alapetite
ca74b2fca3 Merge pull request #620 from plopoyop/dev
Ajout d'un timeout pour la notification HTML5
2014-09-18 13:34:22 +02:00
plopoyop
4211539c24 Add timeout option for HTML5 notification 2014-09-18 10:46:34 +02:00
Marien Fressinaud
3b8c381689 No cache for update system
See https://github.com/marienfressinaud/FreshRSS/issues/616
2014-09-17 13:37:39 +02:00
Marien Fressinaud
a3b5e72729 Move button to apply update outside the message 2014-09-17 13:26:32 +02:00
Marien Fressinaud
7d5e57b35b Load $nb/2 articles when articles are unfolded
See https://github.com/marienfressinaud/FreshRSS/issues/559
2014-09-17 09:15:19 +02:00
Marien Fressinaud
a4e43e9c53 Message if last update checking is close
last_update.txt is updated even if there is no update
If last_update.txt has been modified during last hour, show a message

See https://github.com/marienfressinaud/FreshRSS/issues/480#issuecomment-55765373
2014-09-16 18:30:24 +02:00
Marien Fressinaud
1e5efc9299 Mark many as read must be a POST action
See https://github.com/marienfressinaud/FreshRSS/issues/599
2014-09-16 14:23:04 +02:00
Marien Fressinaud
69c7c1aa48 Change loading of base-theme css
If metadata.json indicates it should use "_template.css" or "_base.css",
base-theme/template|base.css is used. It facilitates theme maintenance.
2014-09-15 15:55:35 +02:00
Marien Fressinaud
b7b05ca3ce Import/Export: use transactions
List of articles must be iterated twice since feeds must be in DB before
using transaction for articles. It may be improved?

See https://github.com/marienfressinaud/FreshRSS/issues/591
2014-09-15 15:34:56 +02:00
Marien Fressinaud
0214576571 FIXME (import/export) Use entryDAO addEntryPrepare 2014-09-12 21:46:37 +02:00
Marien Fressinaud
3fa726a81e Import all .json files
Before, only feed_*.json and *starred*.json was imported. Now, all
*.json files are imported.
2014-09-12 21:34:42 +02:00
Marien Fressinaud
098f5e6d74 Log error if update.freshrss.org is unreachable 2014-09-12 21:10:45 +02:00
Marien Fressinaud
213bc2b9dd Check if update has been done during last minute
Cancel check action if update has been done during last hour.
2014-09-12 21:07:53 +02:00
Marien Fressinaud
d59eebf542 Add data/last_update.txt
Remember last update timestamp.
2014-09-08 20:07:09 +02:00
Marien Fressinaud
48f91da2e5 Check FRESHRSS_PATH is writable.
FRESHRSS_PATH needs to be writable before performing update.
2014-09-08 19:52:21 +02:00
Marien Fressinaud
ef1b35fc43 Merge branch 'dev' into 411-update-system
Conflicts:
	constants.php
2014-09-08 19:26:35 +02:00
Alexis Degrugillier
f002dbe4ce Add average on repartition charts.
It needs some verification on the value used to calculate the averages.
2014-09-01 20:58:05 -04:00
Marien Fressinaud
1316ada152 Fix bug add favorite entry
See https://github.com/marienfressinaud/FreshRSS/issues/494
2014-08-23 22:02:22 +02:00
Marien Fressinaud
ae54a14386 Fix problem with starred files for import/export
Improve guessFileType method

See https://github.com/marienfressinaud/FreshRSS/issues/494
2014-08-23 21:37:37 +02:00
Marien Fressinaud
17cf6fae6b Merge branch 'dev' of github.com:marienfressinaud/FreshRSS into dev 2014-08-23 20:55:08 +02:00
Alexis Degrugillier
b1139bf39c Add category reading option
Before, when a category was selected, it was expanded to show the feeds in that category.
Now, there is a parameter that allows the user to choose either if he wants the old behaviour or if he wants to expand only when needed (when selecting a feed or when clicking the appropriate button)
2014-08-23 08:18:47 -04:00
Alexandre Alapetite
fb664c2405 Correction pagination bug for read articles
https://github.com/marienfressinaud/FreshRSS/issues/587
2014-08-23 11:04:17 +02:00
Alexandre Alapetite
ea99ac1259 Syntax 581
#581
2014-08-19 21:55:49 +02:00
Alexis Degrugillier
393fce3e8a Add a feed selector in repartition statistics.
Before we could choose the feed in the statistics only from the feed options in the main view. Now with the new drop-down list, it is possible to choose it from the statistics page.
The rendering needs to be polished to be nicer.
2014-08-19 08:55:44 -04:00
Marien Fressinaud
e3bb80de17 Refactor import / export source code
See https://github.com/marienfressinaud/FreshRSS/issues/494
2014-08-17 22:14:13 +02:00
Marien Fressinaud
0f1133ddfe Fix some forward() actions
See https://github.com/marienfressinaud/FreshRSS/issues/494
2014-08-17 21:03:01 +02:00
Alexandre Alapetite
5c2f3349fa Long term cookie: purge old tokens
https://github.com/marienfressinaud/FreshRSS/issues/465
2014-08-13 20:09:23 +02:00
Alexandre Alapetite
359ccc8e4c Long term cookie minor change
https://github.com/marienfressinaud/FreshRSS/issues/465
2014-08-13 00:25:52 +02:00
Alexandre Alapetite
ee1b8f6f72 Long term cookie to keep session open
Token system
https://github.com/marienfressinaud/FreshRSS/issues/465
2014-08-13 00:09:48 +02:00
Marien Fressinaud
775ff40780 Improve import system
Catch more errors
Code refactoring
2014-08-12 22:55:43 +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
Marien Fressinaud
1b20f6bd02 New wrappers Minz_Request::good() and bad()
1. Set a notification message in session variable
2. Redirect to a specific url

First use in importExportController.php

See https://github.com/marienfressinaud/FreshRSS/conversations/576
2014-08-12 21:01:07 +02:00
Marien Fressinaud
909d8747ba Update system now uses HTTPS connection
- Add some curl checks
- Refactor code
2014-08-12 20:15:46 +02:00
Marien Fressinaud
8ffd59f34a Improve import system
Catch errors of zip_open and log it. A notification is shown to indicate
something went wrong.

See https://github.com/marienfressinaud/FreshRSS/issues/494
2014-08-11 19:18:12 +02:00
Marien Fressinaud
94570aaf5a Improve system import/export
Miss checking presence of zip extension during import

See https://github.com/marienfressinaud/FreshRSS/issues/494
2014-08-11 19:02:27 +02:00
Marien Fressinaud
93a77f84d4 Change cookie lifetime to 1 month.
See https://github.com/marienfressinaud/FreshRSS/issues/465
2014-08-10 21:08:10 +02:00
Marien Fressinaud
eceb7756cf Add possibility to keep logged in with form
Add an option to keep logged in.
Change lifetime of session cookie to 1 year.

See https://github.com/marienfressinaud/FreshRSS/issues/465
2014-08-10 20:29:43 +02:00
Marien Fressinaud
1e71e67250 Merge branch 'dev' into 411-update-system 2014-08-10 12:47:54 +02:00
Marien Fressinaud
3ca8c7ec4c Litlle improvements (update system)
- Check UPDATE_FILENAME exists before applying update
- Add empty line at the end of files
2014-08-10 11:52:18 +02:00
Marien Fressinaud
9a5d6245fb Improve update API
Update script must implement 4 functions:
- apply_update() to perform the update (most important). Return true if
  all is ok, else false.
- need_info_update() returns true if we need more info for update, else
  false. If this function always returns false, you don't need to
  implement following functions (but it's better to not forget)
- ask_info_update() should be a HTML form to ask infos. Method must be
  post and action must point to _url('update', 'apply') (or leave it
  blank)
- save_info_update() is called for POST requests (to save form from
  ask_info_update())
2014-08-10 10:55:51 +02:00
Marien Fressinaud
7ed111b1bf Add translations for update system 2014-08-10 10:35:17 +02:00