Commit Graph

2022 Commits

Author SHA1 Message Date
Marien Fressinaud
edc6816aec Merge pull request #794 from aledeg/auto-remove-when-read
Add a cleaning process in the auto-remove feature.
2015-02-17 13:16:34 +01:00
Marien Fressinaud
c0aba0a371 Merge pull request #792 from aledeg/extract-search-from-context
Extract search from context
2015-02-17 13:05:55 +01:00
Alexis Degrugillier
6e7bdb1709 Add a cleaning process in the auto-remove feature.
Before, when the status change was too quick, sometimes, articles weren't removed from the view.
Now they are removed by adding a statement that grabs past articles with specific properties and remove them.

See #738
2015-02-15 18:37:04 -05:00
Alexis Degrugillier
964e67d4a4 Add a test to verify if the search input is stored correctly 2015-02-12 21:08:37 -05:00
Alexis Degrugillier
9f83aa5fe7 Refactor the code to make less unnecessaty calls
There were multiple calls made to the cleaning method that were unnecessary since it is useful only on the last call.
It allows to simplify code by returning values ealier.
2015-02-12 21:05:33 -05:00
Alexis Degrugillier
9cee5c1a17 Remove code generated by netbeans 2015-02-11 21:52:10 -05:00
Alexis Degrugillier
f30ded2f86 Extract the search code from the context
I figured that the code for the search could be extracted from the context to have separation of concern.
It supports multiple keywords. It suports also multiple tag keywords.
2015-02-11 21:49:21 -05:00
Alexis Degrugillier
4bb8548ecc Add a way to parse search string to extract keywords
This feature is not in use at the moment, but it will be handy to reorganize the query building process. It allows to have more than one keyword in the search box.
Full tests are available as well.

It probably needs a refactoring later, but I think this is the first step to make the application full object oriented and testable.
2015-02-08 20:53:36 -05:00
Marien Fressinaud
59fb3dfe18 Update CREDITS file 2015-02-03 10:36:45 +01:00
Marien Fressinaud
88f94661f3 New version number for dev (1.2-dev) 2015-02-03 10:32:41 +01:00
Marien Fressinaud
e91b72b63c Update changelog 2015-01-29 14:47:54 +01:00
Marien Fressinaud
01a1179b1a Improve url_remove_credentials
Use @aledeg old function instead

See https://github.com/FreshRSS/FreshRSS/pull/715
See https://github.com/FreshRSS/FreshRSS/issues/711
2015-01-29 11:05:20 +01:00
Marien Fressinaud
8ff3e5363d Use url_remove_credentials to log URL
See https://github.com/FreshRSS/FreshRSS/issues/711
2015-01-29 10:57:11 +01:00
Marien Fressinaud
e078f9fdac Introduce url_remove_credentials() function
See https://github.com/FreshRSS/FreshRSS/issues/711
2015-01-29 10:47:33 +01:00
Marien Fressinaud
40f45c92ed Fix get_user_configuration()
There is no need to prefix namespace by the time: if conf has already been
registered, it will be returned anyway!
2015-01-29 10:26:16 +01:00
Marien Fressinaud
a47ce4f6af Fix including extensions for actualize_script
Extensions could be included multiple times. It resulted in an error.
2015-01-29 10:17:29 +01:00
Marien Fressinaud
59ea9f2a3b Remove calls to syslog()
Temporary fix:

- Change syslog by Minz_Log::notice in most of the files
- Logs are stored in USERS_PATH/_/log.txt for actualize_script.php
- Simply comment syslog in SimplePie

See https://github.com/FreshRSS/FreshRSS/issues/711
2015-01-29 10:14:45 +01:00
Marien Fressinaud
b355a45c35 Change behaviour of #add_rss input.extend
UI was frustrating when input had the focus: we needed to click elsewhere to
be able to open the next dropdown.

See https://github.com/FreshRSS/FreshRSS/issues/777
2015-01-29 09:52:43 +01:00
Marien Fressinaud
403b0a24a5 Fix german gen.js.request_failed 2015-01-27 20:46:36 +01:00
Marien Fressinaud
01683ba136 Remove information about me and update links
FreshRSS should not be associated to me but to the community:

- Remove links to send me email or references to a "lead developer"
- Change old Github links marienfressinaud/FreshRSS to FreshRSS/FreshRSS
2015-01-27 17:19:57 +01:00
Marien Fressinaud
b4b5fcf86b Change translation for gen.js.request_failed
See https://github.com/FreshRSS/FreshRSS/issues/775
2015-01-27 11:09:05 +01:00
Marien Fressinaud
f5043dbf71 Serve HTTP cache for default favicon + better headers
See da7d34d2ef (commitcomment-9439610)
2015-01-26 14:49:24 +01:00
Marien Fressinaud
da7d34d2ef Default favicon served with HTTP code 200
Fix https://github.com/FreshRSS/FreshRSS/issues/760
2015-01-26 13:02:47 +01:00
Marien Fressinaud
39b8c75c40 Password format on profile and manage user pages
Related to ec75139939
See https://github.com/FreshRSS/FreshRSS/issues/769
2015-01-26 11:48:25 +01:00
Marien Fressinaud
ec75139939 Give indication on password format
Fix https://github.com/FreshRSS/FreshRSS/issues/769
2015-01-26 10:47:09 +01:00
Marien Fressinaud
65fb4ac1fd Update CREDITS file
See https://github.com/FreshRSS/FreshRSS/pull/766
2015-01-26 10:47:09 +01:00
Alexandre Alapetite
15f35b6a2d Merge pull request #767 from ealdraed/fix/share/email
Fix double quotes not escaped in RSS title (share by email)
2015-01-23 11:16:12 +01:00
ealdraed
7156a646b2 Fix double quotes not escaped in RSS title (share by email)
If an RSS feed title contains double quotes, this prematurely terminates the subject line and prohibits the URL to be added to the email body when using Share->Email.
Replace urlencode() with rawurlencode() for all transform functions.
2015-01-23 01:48:02 +01:00
Marien Fressinaud
5f7bb4f42c Merge branch 'ealdraed-de-translation' into dev 2015-01-22 10:25:13 +01:00
Marien Fressinaud
90efd8fe3b Merge branch 'de-translation' of https://github.com/ealdraed/FreshRSS into ealdraed-de-translation 2015-01-22 10:19:28 +01:00
Alexandre Alapetite
963dd6d260 ! encoding problem 2
964a768bc3 (commitcomment-9385695)
2015-01-22 08:31:54 +01:00
Alexandre Alapetite
dfaf1c451f Revert "! encoding problem"
This reverts commit 964a768bc3.
2015-01-22 08:29:58 +01:00
ealdraed
3a5fcb6519 Add German translation 2015-01-22 07:13:57 +01:00
Alexandre Alapetite
964a768bc3 ! encoding problem
211569ef85 (commitcomment-9384719)
2015-01-21 22:37:17 +01:00
Marien Fressinaud
22d7e0d638 Simplify code for cookie dir
See https://github.com/FreshRSS/FreshRSS/issues/700
See eec95ffb6a
2015-01-21 16:28:29 +01:00
Marien Fressinaud
eec95ffb6a Fix bug related to cookie path
Fix https://github.com/FreshRSS/FreshRSS/issues/700
2015-01-21 15:43:25 +01: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
211569ef85 Minz: missing URL key/param encoding
Caused searches such as "intitle:&" to fail after paging, and
possible XSS vulnerabilities.
Discovered during https://github.com/FreshRSS/FreshRSS/issues/754
2015-01-21 00:44:26 +01:00
Alexandre Alapetite
12081f7ba2 Quick fix cron actualization due to problematic FreshRSS constructor/init
https://github.com/FreshRSS/FreshRSS/issues/759
Suggestion: the static objects should be user-independent (or at least
with the possibility to be re-set), while the FreshRSS object and its
attributes should be user-dependent.
2015-01-20 23:29:04 +01:00
Alexandre Alapetite
2036b9aed3 Suppress possible warnings after update
Prevent JavaScript errors when the shortcuts have not been defined in
the config file.
https://github.com/FreshRSS/FreshRSS/issues/733
2015-01-20 19:54:00 +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
8b94141fec Add CREDIT file with name of all contributors
Contributor list comes from https://github.com/FreshRSS/FreshRSS/graphs/contributors
Note I didn't take responsability to add information such as personal website
or email address. If you want these information appear feel free to update
the file!
2015-01-19 12:14:04 +01:00
Marien Fressinaud
711ef5546c Fix mark_when setter
mark_when was not taken in consideration.
2015-01-18 13:04:08 +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
9e40639495 Enlarge the .item.date to contain larger date
I know it's not the best solution, a dynamic width would be the best but there
are some CSS constraints. I don't want to spend my time on this problem ;)

Fix https://github.com/FreshRSS/FreshRSS/issues/756
2015-01-18 12:33:55 +01:00
Marien Fressinaud
bf2f7176ee Improve i18n for JavaScript
notif_* messages have been moved into feedback array.
2015-01-18 12:06:40 +01:00
Marien Fressinaud
14206aca16 Improve behavior when mark as read / favorite fail
If the request fails:
- Open a notification to inform user
- Remove pending index from the pending_feeds list

Fix https://github.com/FreshRSS/FreshRSS/issues/751
2015-01-18 11:59:03 +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
Alexis Degrugillier
b17cdadf15 Add the first unit test
Add phpunit configuration to run tests and add the first running test to validate the configuration
2015-01-17 10:42:24 -05:00