maTh
925d6ee666
improved: 'My Labels' field be searchable ( #6753 )
...
* datalist-labels
* Update main.js
2024-10-01 13:34:50 +02:00
maTh
3347807730
i18n: German 100% ( #6847 )
...
* de
* fix
2024-09-30 00:28:43 +02:00
maTh
292f34a5aa
Added: Share via telegram app ( #6838 )
...
* add telegram as sharing service
* Update 08_sharing_services.md
2024-09-29 19:43:57 +02:00
maTh
496d3a1a48
Improved: Subscription management page ( #6816 )
...
* i18n: Add an RSS feed -> Add a feed
* manage mouse title for category
* no white space between manage icon and favicon and title
* add feed link: use icon instead of plus character
* better CSS class for empty category and its alert text box
* show muted icon and warning icon
* the CSS magic incl. the themes improvements
* fix
* mute icon is more important than warning
* feed mouse hover title
* fix feed navigation sidebar: show error
* fix btn with icon and text
* fix aside feed: muted icon over warning icon
2024-09-29 10:28:28 +02:00
Alexandre Alapetite
1c09408c64
Fix HTML encodings in e.g. cURL options ( #6821 )
...
* Fix HTML encodings in e.g. cURL options
* Trim headers whitespace
2024-09-22 11:05:06 +02:00
Eugen Gorbunov
e9398f3f8c
Add HTTP Headers option ( #6820 )
...
* Add new strings to lang files
* Add HTTP headers field to feed forms
* A few improvements
---------
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr >
2024-09-21 10:34:38 +02:00
Alexandre Alapetite
ffc3d393e5
SimplePie support for HTTP cache policies ( #6812 )
...
* SimplePie support for HTTP cache policies
Discussion in https://github.com/FreshRSS/simplepie/pull/26
* Bump SimplePie commit
* Typos
* Typos
* Simpler logic
* Explicitly disable cache for non-GET flows
* Bump SimplePie commit
* Bump SimplePie commit
* Bump SimplePie commit
* Bump SimplePie commit
2024-09-20 23:25:38 +02:00
Alexandre Alapetite
7d0e1b1a84
Fix search with double-quote and parenthesis ( #6818 )
...
Fix searches like `("test")` with a double-quote preceded by a parenthesis
2024-09-20 14:01:18 +02:00
Alexandre Alapetite
469a42d9c3
Rename param specialchars to plaintext ( #6809 )
...
https://github.com/FreshRSS/FreshRSS/pull/6800#discussion_r1756435762
2024-09-15 12:00:46 +02:00
Artur Weigandt
882deab455
Allow SimplePie updates with composer ( #4374 )
...
* rename lib/SimplePie to lib/CustomSimplePie
* add test for autoloading SimplePie with PSR-0
* install SimplePie 1.6.0
* Add SimplePie CHANGELOG.md, ignore irrelevant files
* remove unmodified custom classes
* rename all customized SimplePie classes
* Add autoloading for SimplePie PSR-0 and CustomSimplePie classes
* let CustomSimplePie extends SimplePie, remove unchanged code
* let CustomSimplePieMisc extends SimplePie\Misc, remove unchanged code
* Add tests for autoloading
* let CustomSimplePieContentTypeSniffer extends Sniffer, remove unchanged code
* remove unchanged CustomSimplePieEnclosure class
The fixed typos are commited to SimplePie
See 133eac158c
* let CustomSimplePieFile extends SimplePie\File, remove unchanged code
* let CustomSimplePieParser extends SimplePie\Parser, remove unchanged code
* let CustomSimplePieSanitize extends SimplePie\Sanitize, remove unchanged code
* let CustomSimplePieHttpParser extends SimplePie\HTTP\Parser, remove unchanged code
* Remove CustomSimplePie
* Switch SimplePie repo to https://github.com/FreshRSS/simplepie.git
* move to latest branch, update all SimplePie source files
* Use namespaced SimplePie classes, remove SimplePie library folder
* Update to latest SimplePie version with FreshRSS modifications
* Bump SimplePie
Tests expected to fail due to missing a backport of functionalities
* Add fork-specific readme
* Re-implement initial syslog SimplePie GET
https://github.com/FreshRSS/FreshRSS/pull/815
Lacks https://github.com/FreshRSS/FreshRSS/pull/6061
* Closer backport of syslog SimplePie GET
https://github.com/FreshRSS/FreshRSS/pull/6061
But the requests logs will be in the wrong order in case of redirections
* Fixes
* lib update
* SimplePie include a few more files
* Try with cache-hash branch
* Point to newer commit
* Point to newer commit
* Finalise logs
* Finalise
* Bump SimplePie commit
* Bump SimplePie commit
* Readme SimplePie fork
* Bump SimplePie commit
* Better logging
* Bump SimplePie commit
* Reworked approach to work with SimplePie cache
Simpler FreshRSS patches
* Bump SimplePie commit
https://github.com/FreshRSS/simplepie/pull/22
* Simplepie846
https://github.com/FreshRSS/simplepie/pull/23
And additional fixes
* Remove log
* Cherry pick relevant unmerged SimplePie PRs
---------
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr >
2024-09-14 23:11:10 +02:00
Alexandre Alapetite
bea4ed69fc
Improve CSS filter to exclude content ( #6807 )
...
* Improve CSS filter to exclude content
Improve https://github.com/FreshRSS/FreshRSS/pull/6786
Fix bug when changing the CSS filter and reloading article, because original content was lost.
Fix similar bug with pathEntries.
* Forgotten i18n
* Type check
2024-09-14 00:55:41 +02:00
Alexandre Alapetite
fd1b5e9343
Fix inversed encoding logic in paramArray ( #6800 )
...
* Fix inversed encoding logic in paramArray
https://github.com/FreshRSS/FreshRSS/pull/6797#discussion_r1754661634
Also fix the possibility to use `<'&">` in shortcuts, and some minor encoding bugs in user queries
* Forgot paramArrayString
2024-09-12 11:04:49 +02:00
Alexandre Alapetite
d1f1e42c2b
Fix unsafe login ( #6797 )
...
fix https://github.com/FreshRSS/FreshRSS/issues/6796
2024-09-11 21:45:40 +02:00
Alexandre Alapetite
dfac9f5813
PHPStan booleansInConditions ( #6793 )
...
* PHPStan booleansInConditions
* Uniformisation
2024-09-11 17:14:53 +02:00
Alexandre Alapetite
86f2cd24c5
Better import Inoreader ( #6791 )
...
fix https://github.com/FreshRSS/FreshRSS/discussions/6762
2024-09-09 13:33:36 +02:00
Alexandre Alapetite
feffa5598c
Apply CSS selector filter also when not using full content ( #6786 )
...
Before, removing content from articles was only possible when fetching full article contents.
With this PR, the same cleaning can be applied to the normal content provided by RSS feeds.
2024-09-09 10:38:45 +02:00
Alexandre Alapetite
af0498fe67
Fix auto-read tags ( #6790 )
...
fix https://github.com/FreshRSS/FreshRSS/issues/6788
2024-09-09 10:36:52 +02:00
maTh
f7235bcb54
Improved: refactor the sharing menu to use a template instead of duplicated HTML code ( #6751 )
...
* <script> --> <template>
* sharing menu
* normal view, global view (reader view does not have a share button)
* fix
2024-09-07 23:24:05 +02:00
Alexandre Alapetite
1a552bd60e
Regex search ( #6706 )
...
* Regex search
fix https://github.com/FreshRSS/FreshRSS/issues/3549
* Fix PHPStan
* Fix escape
* Fix ungreedy
* Initial support for regex search in PostgreSQL and MySQL
* Improvements, support MySQL
* Fix multiline
* Add support for SQLite
* A few tests
* Added author: and inurl: support, documentation
* author example
* Remove \b for now
* Disable regex sanitization for now
* Fix getInurlRegex
* getNotInurlRegex
* Quotes for inurl:
* Fix test
* Fix quoted tags + regex for tags
https://github.com/FreshRSS/FreshRSS/issues/6761
* Fix wrong regex detection
* Add MariaDB
* Fix logic
* Increase requirements for MySQL and MariaDB
Check support for multiline mode in MySQL
* Remove sanitizeRegexes()
* Allow searching HTML code
Allow searching for instance `/<pre>/`
Fix https://github.com/FreshRSS/FreshRSS/issues/6775#issuecomment-2331769883
* Doc regex search HTML
* Fix Doctype
2024-09-06 09:35:58 +02:00
Alexandre Alapetite
a81656c3ed
Upgrade to PHP 8.1 ( #6711 )
...
* Upgrade to PHP 8.1
As discussed in https://github.com/FreshRSS/FreshRSS/discussions/5474
https://www.php.net/releases/8.0/en.php
https://www.php.net/releases/8.1/en.php
Upgrade to available native type declarations
https://php.net/language.types.declarations
Upgrade to https://phpunit.de/announcements/phpunit-10.html which requires PHP 8.1+ (good timing, as version 9 was not maintained anymore)
Upgrade `:oldest` Docker dev image to oldest Alpine version supporting PHP 8.1: Alpine 3.16, which includes PHP 8.1.22.
* Include 6736
https://github.com/FreshRSS/FreshRSS/pull/6736
2024-09-06 09:06:46 +02:00
Alexandre Alapetite
4f29b715ef
Use curl to fetch extensions list ( #6767 )
...
fix https://github.com/FreshRSS/FreshRSS/issues/6744
2024-09-06 08:51:51 +02:00
Alexandre Alapetite
a6138225ea
Better cache name for JSON feeds ( #6768 )
2024-09-06 08:51:21 +02:00
Alexandre Alapetite
73a84120ae
Fix OPML for itemTimeFormat ( #6779 )
...
fix https://github.com/FreshRSS/FreshRSS/issues/6778
2024-09-05 23:28:59 +02:00
Alexandre Alapetite
efa0a92171
Fix feed title option ( #6771 )
...
fix https://github.com/FreshRSS/FreshRSS/issues/6756
2024-09-04 21:12:56 +02:00
Alexandre Alapetite
91d0e5099b
Fix XPath for HTML documents with broken root ( #6774 )
...
fix https://github.com/FreshRSS/FreshRSS/issues/6773
The default `.//` prefix for the XPath does not to work for documents, which have content after the end of their main node
2024-09-04 21:02:46 +02:00
Alexandre Alapetite
7ba880ca1c
Fix mark-as-read from user query ( #6738 )
...
fix https://github.com/FreshRSS/FreshRSS/issues/6732
2024-08-27 15:33:45 +02:00
Alexandre Alapetite
f544da6015
Use .html extension for full content pages instead of .spc ( #6724 )
2024-08-23 16:39:34 +02:00
Alexandre Alapetite
bb61f698e8
Fix HTTP cache of main page ( #6719 )
...
Revert bug introduce by https://github.com/FreshRSS/FreshRSS/pull/3096 in which username was always null, preventing HTTP cache from working and always returning 200 instead of 304.
Discovered when checking https://github.com/FreshRSS/FreshRSS/pull/6718
2024-08-17 16:25:40 +02:00
Alexandre Alapetite
c480e57161
Fix HTTP cache of user queries ( #6718 )
...
fix https://github.com/FreshRSS/FreshRSS/issues/6717
2024-08-16 22:40:56 +02:00
Alexandre Alapetite
1fad724b95
Improve SQL transactions ( #6713 )
...
To avoid some locks.
Fix https://github.com/FreshRSS/FreshRSS/issues/6686
Might be some regressions since https://github.com/FreshRSS/FreshRSS/pull/6632
2024-08-15 21:39:33 +02:00
Alexandre Alapetite
692e30465d
Update about running tests ( #6709 )
2024-08-14 21:54:34 +02:00
Alexandre Alapetite
51f93e56f7
SQL single quote string literals, one more ( #6702 )
...
Forgotten from https://github.com/FreshRSS/FreshRSS/pull/6701
https://github.com/FreshRSS/FreshRSS/issues/6602
2024-08-11 22:09:14 +02:00
Alexandre Alapetite
e08574a47d
SQL single quote string literals ( #6701 )
...
https://www.sqlite.org/quirks.html#double_quoted_string_literals_are_accepted
fix https://github.com/FreshRSS/FreshRSS/issues/6602
And MySQL at the same time https://dev.mysql.com/doc/refman/9.0/en/string-literals.html
2024-08-08 22:56:32 +02:00
Alexandre Alapetite
b034ce2ccb
SQL test if minor update is needed ( #6692 )
...
* SQL test if minor update is needed
fix https://github.com/FreshRSS/FreshRSS/issues/6592
* Minor syntax
2024-08-04 19:42:01 +02:00
-Shiken-
e269418a46
Update zh tw translation ( #6691 )
...
* Update zh-tw translation of conf.php
* Update admin.php
* Update gen.php
* Update sub.php
2024-08-02 23:53:07 +02:00
Alexandre Alapetite
d2247221bb
Minor update whitespace PHPCS rules ( #6666 )
...
* Minor update whitespace PHPCS rules
To simplify our configuration, apply more rules, and be clearer about what is added or removed compared with PSR12.
Does not change our current conventions, but just a bit more consistent.
* Forgotten *.phtml
* Sort exclusion patterns + add a few for Extensions repo
* Relaxed some rules
2024-08-01 20:31:40 +02:00
Alexandre Alapetite
58de38bd73
Fix parentheses for complex OR boolean search expressions ( #6672 )
...
* Fix OR parentheses
* Pass all tests
* Forgotten comment
* Minor whitespace
* Fix several cases envolving negation
* Line length
* Fix `OR NOT`
2024-08-01 19:44:58 +02:00
Alexandre Alapetite
666e7b27ce
Fix muted feeds for WebSub ( #6671 )
2024-07-31 22:11:01 +02:00
Alexandre Alapetite
6e01866845
Fix regression on mark duplicate titles as read for modified articles ( #6664 )
...
When the option *mark as read if an identical title already exists in the top n newest articles*, that should not apply to updated articles, as they risk being marked as read due to themselves having the same title.
Identifying the different sub-cases would require a more complicated logic, so disable for now.
Regression due to https://github.com/FreshRSS/FreshRSS/pull/6334
2024-07-30 15:23:46 +02:00
Alexandre Alapetite
5659b37948
Fix markAsReadUponGone regression ( #6663 )
...
Regression from https://github.com/FreshRSS/FreshRSS/pull/5470
Was not working anymore when the feed was empty.
Plus simplification of the logic when the feed is not empty
2024-07-30 12:01:59 +02:00
Alexandre Alapetite
5c8369ce38
Strong type array parameter helper ( #6661 )
...
Also useful for extensions (including one I am writing)
2024-07-29 14:48:17 +02:00
Alexandre Alapetite
5267db88ab
Share in GReader JSON format ( #6655 )
...
fix https://github.com/FreshRSS/FreshRSS/discussions/6654#discussioncomment-10128309
2024-07-24 19:39:30 +02:00
Alexandre Alapetite
a6d7bdc742
New global option to automatically add articles to favourites ( #6648 )
...
fix https://github.com/FreshRSS/FreshRSS/issues/6639
2024-07-24 19:37:30 +02:00
Alexandre Alapetite
3dca6ab1ee
Extend regex for enclosure images ( #6653 )
...
fix https://github.com/FreshRSS/FreshRSS/discussions/6652
2024-07-24 19:34:18 +02:00
maTh
da482165fd
Minor whitespace reading.phtml ( #6657 )
2024-07-23 23:09:31 +02:00
maTh
2bd8349401
New: sharing service archive.is added ( #6650 )
...
* archive.is added
* // TODO => // IGNORE
2024-07-23 23:02:25 +02:00
maTh
dcd9e69bb4
Improve feed sidebar: main stream, favorites, important ( #6651 )
...
* main stream
* important feeds
* favorite feeds
* Origine
2024-07-23 22:47:34 +02:00
Alexandre Alapetite
0eeac4a669
Revisit keepMaxUnreads ( #6632 )
...
* Revisit keepMaxUnreads
Again, follow-up of https://github.com/FreshRSS/FreshRSS/pull/5905
fix https://github.com/FreshRSS/FreshRSS/issues/6620
* Refactoring to address buggy cases
* Fix minor test
2024-07-21 14:54:34 +02:00
Dani Servian
49789f4037
Improve Spanish translations: Add missing entries and fix typos ( #6634 )
...
* Translate TODO entries to Spanish and fix typos
* further improve translation and fix more typos
* Fix
---------
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr >
2024-07-18 18:08:14 +02:00
Alexandre Alapetite
f21a164c05
JSON Dot Notation allow string conversion ( #6631 )
...
Allow fetching a string from string-friendly types.
Fix https://github.com/FreshRSS/FreshRSS/discussions/6626
2024-07-18 00:35:13 +02:00