Alexandre Alapetite
d9c0d25b85
Improve search: intitle, author, inurl
...
Allow multiple values of intitle: , author:, inurl:
Note: Tests for UserQueryTest are broken due to
https://github.com/sebastianbergmann/phpunit/wiki/Release-Announcement-for-PHPUnit-4.0.0#backwards-compatibility-issues
8 years ago
Alexandre Alapetite
7a6751b50d
PDO fix PHP 7.1
...
http://php.net/manual/migration71.changed-functions.php#migration71.changed-functions.pdo
8 years ago
Alexandre Alapetite
cc235c6af3
SimplePie light manual update
8 years ago
Alexandre Alapetite
e956aee53d
More defered insertion. New SQL index
...
New index entry_feed_read_index
TODO: Auto add this index to existing version
8 years ago
Alexandre Alapetite
a20fd9db9f
Defered insertion MySQL bug
...
The update of cached values remains to be optimized
8 years ago
Alexandre Alapetite
22b41f3bfc
Candidate implementation of defered insertion
...
https://github.com/FreshRSS/FreshRSS/issues/530
8 years ago
Thomas Citharel
ae5a8572d5
postgres fixes
8 years ago
Alexandre Alapetite
f59de4e2b6
Stream JSON export
...
Avoid large in-memory copies
https://github.com/FreshRSS/FreshRSS/issues/1372
8 years ago
Alexandre Alapetite
aeda49a7d2
Add CLI for user information + Fix last user activity
...
https://github.com/FreshRSS/FreshRSS/issues/1345
8 years ago
Alexandre Alapetite
8a410969dd
Use bindValue instead of bindParam
...
https://github.com/FreshRSS/FreshRSS/issues/1349
We should later replace all bindParam by bindValue
8 years ago
Alexandre Alapetite
7f2b0439ec
Extract function safe_ascii()
8 years ago
Alexandre Alapetite
1893fc61e0
guid and urls should not contain low/high characters
...
It looks like SimplePie does not always filter everything
Having a character not in latin1 would create MySQL collate errors
8 years ago
Alexandre Alapetite
38289beb66
Fix updateEntry warning
...
https://github.com/FreshRSS/FreshRSS/issues/1325
8 years ago
Alexandre Alapetite
d184478fb4
PostgreSQL compatibility boolean
...
https://github.com/FreshRSS/FreshRSS/issues/1311
8 years ago
Alexandre Alapetite
50827447e3
Better error message in markReadFeed
...
https://github.com/FreshRSS/FreshRSS/issues/1299
8 years ago
Alexandre Alapetite
05cabe99ae
Take better advantage of other users refresh
8 years ago
Alexandre Alapetite
32ac41439a
PostgreSQL case-insensitivity bug
8 years ago
Alexandre Alapetite
a7b605f2a5
Bug updateEntry()
8 years ago
Alexandre Alapetite
1d8c24c73f
BindParam bug
8 years ago
Alexandre Alapetite
548250620b
PostgreSQL updateEntry()
8 years ago
Alexandre Alapetite
9f04e2bf32
MySQL use unhex instead of hex litteral
...
X' syntax did not work well with bind values
8 years ago
Alexandre Alapetite
f66be86e41
Quoted upper-cases instead of string replace
8 years ago
Alexandre Alapetite
c25fdbcc09
More PostgreSQL
8 years ago
Alexandre Alapetite
edd4516178
More SQLite fix for mark search as read
8 years ago
Alexandre Alapetite
6afa36e7e1
SQLite fix for mark search as read
...
https://github.com/FreshRSS/FreshRSS/issues/1220
https://github.com/FreshRSS/FreshRSS/pull/1218
https://github.com/FreshRSS/FreshRSS/issues/608
8 years ago
Alexandre Alapetite
32c734ef62
SQL mark search as read
...
https://github.com/FreshRSS/FreshRSS/issues/608
8 years ago
Alexandre Alapetite
7c1b5e322c
PostgreSQL draft
...
https://github.com/FreshRSS/FreshRSS/issues/416
Based on @Damstre work https://github.com/FreshRSS/FreshRSS/pull/1071
Not tested
8 years ago
Alexandre Alapetite
2859eff94d
MySQL UTF8MB4 minor details
8 years ago
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
8 years ago
Alexandre Alapetite
6b7d946266
Avoid hex2bin for PHP 5.3
...
https://github.com/FreshRSS/FreshRSS/issues/894
And use native hexadecimal function when available (MySQL) to avoid
having binary data in the SQL logs.
9 years ago
Alexandre Alapetite
384a146883
Minor comment 1.1.1
...
https://github.com/FreshRSS/FreshRSS/issues/845
9 years ago
Alexandre Alapetite
0d32f694dd
Minor comment 1.1.1
...
https://github.com/FreshRSS/FreshRSS/issues/845
9 years ago
Alexandre Alapetite
96ba71e618
MySQL create table bug
...
https://github.com/FreshRSS/FreshRSS/issues/845
And updated version comments to 1.1.1
9 years ago
Alexandre Alapetite
9d55ee5ae9
Bug EntryDAO filter
...
https://github.com/FreshRSS/FreshRSS/issues/850
10 years ago
Alexandre Alapetite
217c191a1b
More SQLite compatibility
...
Additional changes to add compatibility with SQLite for the new
hash/lastSeen mode of updating articles.
10 years ago
Alexandre Alapetite
0745252b68
Hexadecimal literals do not work with SQLite/PDO
...
X'09AF' hexadecimal literals do not work with SQLite/PDO. Replaced by
PHP hex2bin().
711530a512
10 years ago
Alexandre Alapetite
7f7de31c1d
SQL: update request for updated articles
...
https://github.com/FreshRSS/FreshRSS/issues/798
10 years ago
Alexis Degrugillier
d229216ccc
Split the search into values
...
Before, the search was a single value.
Now it is splited in chuncks when separated by spaces.
Except if they are enclosed by single quotes or double quotes.
For some reasons, the unit tests are working for both single and double quotes but the
search box isn't. It is working only with single quotes.
We need to investigate the reason of this behavior.
See #823
10 years ago
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.
10 years ago
Alexis Degrugillier
24f6c1eabb
Fix spacing
10 years ago
Alexis Degrugillier
5b90e1f4a0
Introduce user queries objects
...
There is now an object to manipulate user queries. It allows to move logic to handle those from the view and the controller in the model.
Thus making the view and the controller easier to read.
I introduced a new interface to start using dependency injection. There is still some rough edges but we are moving in the right direction.
The new object is fully tested but it still need some improvements, for instance, it is still tied to the search object.
There might be a better way to do that.
10 years ago
Alexis Degrugillier
fe24636e04
Add missing white space
10 years ago
Alexis Degrugillier
e897afa7cc
Change test to verify if there is a filter
10 years ago
Alexis Degrugillier
1156129593
Use the search object to get values in the search
...
It is now possible to combine multiple keywords to do a search. The separation of concern is better now since the search extraction is not done in the DAO anymore.
At the moment, a multiple keyword search is stored as this. It could be nice to have it rendered differently in the search page to make it more readable.
At the moment, there is a problem with search enclosed by ". Same search works well when enclosed by '.
10 years ago
Marien Fressinaud
5f9672111f
Fix last calls to Minz_Configuration methods
...
- We have still to fix actualize_script and greader api (refactoring?)
- We have to fix the FreshRSS_Configuration calls
- We have to fix availableLanguages calls
See https://github.com/FreshRSS/FreshRSS/issues/730
10 years ago
Alexis Degrugillier
eaaf8cdbf1
Add comments
10 years ago
Marien Fressinaud
8a6ad05eba
Remove STATE_STRICT
...
See https://github.com/marienfressinaud/FreshRSS/issues/634
10 years ago
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
10 years ago
Marien Fressinaud
b5dee73ea0
Coding style
...
Remove spaces before parenthesis bis
See https://github.com/marienfressinaud/FreshRSS/issues/655
10 years ago
Alexandre Alapetite
a5a0bd9a35
SQL performance: Removed filter to hide old articles
...
As discussed on
https://github.com/marienfressinaud/FreshRSS/issues/493#issuecomment-56266415
For performance, but this is also a good simplification.
Will help with PostgreSQL
https://github.com/marienfressinaud/FreshRSS/issues/416 and SQLite too
https://github.com/marienfressinaud/FreshRSS/issues/100 because the main
query becomes simpler.
Me may need to introduce another system to hide old articles, if this is
a problem for some users.
Also, the feature showing "empty feeds" in another colour may need to be
adapted.
10 years ago