Alexandre Alapetite
c65f535890
Fix count unreads in SQLite ( #2009 )
...
* Fix count unreads in SQLite
Was wrong in e.g. `./cli/user-info.php` because UNION output order in
MySQL and SQLite is differents...
* Changelog 2009
6 years ago
Alexandre Alapetite
1d49dda233
Missing touch for SQLite and PostgreSQL ( #2008 )
...
For last user activity.
Forgotten in https://github.com/FreshRSS/FreshRSS/pull/1358
6 years ago
Alexandre Alapetite
b5dfb55389
Fix SQLite and PostgreSQL ( #2007 )
...
Regression from https://github.com/FreshRSS/FreshRSS/pull/1995
6 years ago
Alexandre Alapetite
de4db714f5
MySQL allow dash in database name ( #2005 )
...
Allow `-` in database name
https://diasp.eu.com/posts/d2e36450847101364cab0007cb0b6c8d
6 years ago
Frans de Jonge
a6b8469a62
[i18n] New Dutch strings ( #2000 )
6 years ago
Alexandre Alapetite
d3f5bd840d
Add mark-as-unread ( #1995 )
...
* Add mark-as-unread
https://github.com/FreshRSS/FreshRSS/issues/1966
* Change sentence
https://github.com/FreshRSS/FreshRSS/pull/1995#discussion_r214515954
* Enable mark-as-unread only when unread articles are shown
In order to prevent erroneous marking-as-unread.
We might find a better logic later.
* Disable instead of hide mark-as-unread option
To make it easier to discover
6 years ago
Alexandre Alapetite
14e1b23e42
Allow multiple authors ( #1997 )
...
Fix https://github.com/FreshRSS/FreshRSS/issues/1968
6 years ago
Alexandre Alapetite
32d9c3b790
Use mb_strcut ( #1996 )
...
* Use mb_strcut
Avoid cutting in the middle of a multi-byte UTF-8 character
* Forgotten php5-*
* Typo
* Whitespace
* More mb_strcut
6 years ago
ColonelMoutarde
d38911e5b9
Better rand() ( #1976 )
...
http://php.net/manual/en/function.mt-rand.php
from php Doc
"Many random number generators of older libcs have dubious or unknown characteristics and are slow. The mt_rand() function is a drop-in replacement for the older rand(). It uses a random number generator with known characteristics using the » Mersenne Twister, which will produce random numbers four times faster than what the average libc rand() provides. "
6 years ago
ColonelMoutarde
7072c091a7
better rand() ( #1978 )
...
http://php.net/manual/en/function.mt-rand.php
from php Doc
"Many random number generators of older libcs have dubious or unknown characteristics and are slow. The mt_rand() function is a drop-in replacement for the older rand(). It uses a random number generator with known characteristics using the » Mersenne Twister, which will produce random numbers four times faster than what the average libc rand() provides. "
6 years ago
Seokseong Jeon
69928aa794
i18n Korean ( #1985 )
6 years ago
Alexandre Alapetite
3bebc90474
Share with LinkedIn ( #1960 )
...
https://developer.linkedin.com/docs/share-on-linkedin
https://github.com/FreshRSS/freshrss.org/issues/40
6 years ago
Paro The Parrot
95c17f92c0
before_yesterday ( #1950 )
...
* before_yesterday
"älter" better than "vor vorgestern"
* Update gen.php
suggestions from @kevinpabst
6 years ago
Alexandre Alapetite
99dfdbc10d
Avoid feed credentials in logs ( #1949 )
...
* Avoid feed credentials in logs
Related to https://github.com/FreshRSS/FreshRSS/pull/1891
* Changelog 1949
6 years ago
Alexandre Alapetite
a66b995be7
Explicit quotes decoding ( #1947 )
...
* Explicit quotes decoding
* Explicit htmlspecialchars_decode and htmlspecialchars
6 years ago
Alexandre Alapetite
c4903bc8db
Fix double encoding for mark as read a search ( #1945 )
...
* Fix double encoding for mark as read a search
Fix https://github.com/FreshRSS/FreshRSS/issues/1944
* Fix more search encoding issues
6 years ago
Marien Fressinaud
44ee5ec70c
[ #1928 ] Login user automatically after creation ( #1941 )
6 years ago
Alexandre Alapetite
031acde003
Fix extension hook for updated articles ( #1932 )
...
* Fix extension hook for updated articles
https://github.com/FreshRSS/FreshRSS/issues/1926
* Enable extensions during PubSubHubbub
* A little array protection
* Changelog 1926
https://github.com/FreshRSS/FreshRSS/issues/1926
https://github.com/FreshRSS/FreshRSS/pull/1932
* Add null check
6 years ago
Alexandre Alapetite
c0f2df3ef0
Fever fixes ( #1931 )
...
* Fever fixes
Was hardcoded for MySQL. Bug in "before" parameter. Bug in mark all as
read.
* Fix construct
* Changelog 1930
https://github.com/FreshRSS/FreshRSS/issues/193
https://github.com/FreshRSS/FreshRSS/pull/1931
6 years ago
Alexandre Alapetite
eb3cca60dd
Fix get_thumbnails null exception ( #1933 )
6 years ago
Alexandre Alapetite
6a56894e94
New extension event + Tumblr GDPR ( #1924 )
...
* New extension event + Tumblr GDPR
https://github.com/FreshRSS/FreshRSS/issues/1894
simplepie_before_init event
* Refactor extension enabling + Tumblr GDPR enabled by default
Add possibility for extensions to be enabled by default, and disabled
back by users.
* Minor whitespace
6 years ago
Alexandre Alapetite
7ab4a2609a
Support for media: tags ( #1920 )
...
* Support for media: tags
https://github.com/FreshRSS/FreshRSS/issues/944
E.g. YouTube
* Fix for medium attribute
* Changelog 944
https://github.com/FreshRSS/FreshRSS/issues/944
https://github.com/FreshRSS/FreshRSS/pull/1920
* enclosure styling
* Compatibility old enclosure content
6 years ago
Alexandre Alapetite
afad1d11af
Fix type exception in loadCompleteContent ( #1918 )
...
* Fix type exception in loadCompleteContent
https://github.com/FreshRSS/FreshRSS/issues/1917
With some refactoring
* Changelog 1917
https://github.com/FreshRSS/FreshRSS/issues/1917
https://github.com/FreshRSS/FreshRSS/pull/1918
6 years ago
hoilc
d3942b2960
use GET method for mastodon
6 years ago
Alexandre Alapetite
ccc62b0a2c
Use cURL for GET full content ( #1913 )
...
* Use cURL for GET full content
Fix https://github.com/FreshRSS/FreshRSS/issues/1870
* Changelog 1870
https://github.com/FreshRSS/FreshRSS/issues/1870
https://github.com/FreshRSS/FreshRSS/pull/1913
6 years ago
Bartłomiej Cieszkowski
1cba18e3ef
Typo: FressRSS -> FreshRSS ( #1908 )
...
@bartlomiejcieszkowski 81e014d096
6 years ago
Alexandre Alapetite
e98e40b7b4
Fix check default category, and PostgreSQL seq bug ( #1907 )
...
checkDefault() was broken as it was not necessarily creating the default
category with the right ID.
PostgreSQL required additional care.
https://github.com/FreshRSS/FreshRSS/issues/1890#issuecomment-392869777
https://github.com/FreshRSS/FreshRSS/pull/1322
https://github.com/FreshRSS/FreshRSS/issues/1312#issuecomment-254009397
6 years ago
Alexandre Alapetite
4ec1ebade4
Feed attributes only for admin ( #1905 )
...
* Feed attributes only for admin
https://github.com/FreshRSS/FreshRSS/pull/1838
* Changelog 1905
https://github.com/FreshRSS/FreshRSS/pull/1905
6 years ago
Frans de Jonge
18443963b9
[i18n] Finish Dutch translation ( #1903 )
6 years ago
Alexandre Alapetite
1801f44bfc
Fix import: invalid variable scope ( #1901 )
...
* Fix import: invalid variable scope
https://github.com/FreshRSS/FreshRSS/issues/1890
https://github.com/FreshRSS/FreshRSS/pull/1315
* Changelog 1890
https://github.com/FreshRSS/FreshRSS/issues/1890
https://github.com/FreshRSS/FreshRSS/pull/1901
6 years ago
Alexandre Alapetite
d514dc50af
Add Pocket share ( #1899 )
...
* Add Pocket share
https://github.com/FreshRSS/FreshRSS/issues/1884#issuecomment-388988200
https://github.com/FreshRSS/FreshRSS/issues/1051
* Pocket i18n
6 years ago
Alexandre Alapetite
7ebc56e8d3
Fix null exception in shares ( #1898 )
...
https://github.com/FreshRSS/FreshRSS/issues/1824
https://github.com/FreshRSS/FreshRSS/issues/1884
6 years ago
Alexandre Alapetite
4ff6613989
Fix CLI for creating/deleting user with Fever API ( #1896 )
...
* Fix CLI for creating user with Fever API
https://github.com/FreshRSS/FreshRSS/pull/1836
* Fix CLI for deleting user with Fever API
https://github.com/FreshRSS/FreshRSS/pull/1836
6 years ago
Kevin Papst
8f1bad60d0
Add Fever API and user documentation ( #1836 )
...
* added fever api and documentation
* spaces to tabs
* fixed code format
* added links
* added utf8 to header
* removed XML support
* removed before check, as we have to convert it afterwards
* added sandboxed setting (currently disabled)
added support for extensions using entry_before_display
* listFeedsOrderUpdate LIMIT
https://github.com/FreshRSS/FreshRSS/pull/1836/files#r175287881
* removed custom sql by using FreshRSS_FeedDAO::listFeedsOrderUpdate()
* fixed mark all as read
* replaced custom sql for getUnread() and getStarred() with dao functions
* removed sanitization functions
* Rework fever login
* Fix config bug
Plus documentation
* Fix array syntax
For compatibility with PHP 5.3
* Disable cookies and session for API
* Fix currentUser
* added response header and error log
* adjusted phpdoc to match new authentication
* Mechanism to delete old keys
* replace PHP_INT_MAX with zero to disable limit
* replace method_exists with check for explicit methods
* removed Press support and smaller refactoring + updated docu
* Rewrite bindParamArray
Avoid one of the SQL injection risks
* Docs and readme
* Fix API link
* Simplify reverse key check
Using userConfig
6 years ago
David souza
7e9a29b719
add shebang to actualize script ( #1886 )
...
* add shebang to actualize script
* Update actualize_script.php
6 years ago
Alexandre Alapetite
6881d362b1
Detection of non-unique GUIDs ( #1887 )
...
* Detection of non-unique GUIDs
Some feeds are using GUIDs, but fail to make them unique.
Example: https://www.kbh-sprogcenter.dk/en/category/danish-break/feed/
This patch detects non-unique GUIDs, and disable GUIDs in that specific
case.
* Add state and log
6 years ago
Frans de Jonge
967dc041a7
[i18n] Add hint about adding #force_feed to URL ( #1879 )
...
Fixes #1878
6 years ago
ColonelMoutarde
a8ffde6263
add visibility "public" ( #1849 )
6 years ago
Alexandre Alapetite
0513ba8d9f
Use HTML autocomplete new-password ( #1877 )
...
* Use HTML autocomplete new-password
https://github.com/FreshRSS/FreshRSS/issues/1841#issuecomment-376551901
autocomplete="new-password" for user management pages
https://developer.mozilla.org/en-US/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion
* autocomplete username
https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-autocomplete-username
7 years ago
Alexandre Alapetite
b552abb332
JSON column for feeds ( #1838 )
...
* Draft of JSON column for feeds
https://github.com/FreshRSS/FreshRSS/issues/1654
* Add some per-feed options
* Feed cURL timeout
* Mark updated articles as read https://github.com/FreshRSS/FreshRSS/issues/891
* Mark as read upon reception https://github.com/FreshRSS/FreshRSS/issues/1702
* Ignore SSL (unsafe) https://github.com/FreshRSS/FreshRSS/issues/1811
* Try PHPCS workaround
While waiting for a better syntax support
7 years ago
ColonelMoutarde
1b8ab5199b
strict comparaision for null ( #1874 )
...
With booleans and null, only strict comparison (with === operator) should be used to lower bug risks and to improve performances.
7 years ago
Kevin Papst
6cda39a2f1
fix update user for empty username ( #1857 )
7 years ago
Kevin Papst
6b9be92263
[UI] fix active check in subscription menu ( #1858 )
7 years ago
Kevin Papst
7c39c8024d
[i18n] latest german translations ( #1856 )
7 years ago
Alexandre Alapetite
16d4d5185e
Fix mute feeds
...
https://github.com/FreshRSS/FreshRSS/issues/1844
7 years ago
Alexandre Alapetite
84d891f8cf
Light Boolean search implementation ( #1828 )
...
* Light Boolean search implementation
"Hello intitle:World OR date:P1D example"
https://github.com/FreshRSS/FreshRSS/issues/879
* Doc Boolean search
* Doc typos
7 years ago
Alexandre Alapetite
eea6984866
SQLite more error logs
...
https://github.com/FreshRSS/FreshRSS/issues/1816
And reformat SQL, which required vertical scrolling for me :-)
7 years ago
Alexis Degrugillier
0f43440d25
Change English translation to make it consistent
7 years ago
Alexis Degrugillier
ab9a57cb49
Add tooltips on user queries buttons
7 years ago
Alexis Degrugillier
002d42cd87
Fix faulty id
7 years ago