Mossroy and Alexandre Alapetite
5374df384a
Use RemoteIPInternalProxy directive of remoteip Apache module ( #5740 )
...
* Use RemoteIPInternalProxy directive of remoteip Apache module
instead of RemoteIPTrustedProxy directive
To allow internal IPs to be trusted: for internal clients,
and also for the case of chained internal reverse-proxies
Fixes #5726
* One last reference forgotten
---------
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr >
2023-10-25 16:23:03 +02:00
Mossroy
280a1e1155
Avoid a warning on non-numeric TRUSTED_PROXY en var ( #5733 )
...
* Update entrypoint.sh to avoid a warning on non-numeric TRUSTED_PROXY env var
Fixes #5732 5732
* Use POSIX-compatible syntax
* Fix POSIX syntax
2023-10-25 15:57:27 +02:00
maTh and math-gh
e1ad4fc733
Navigation buttons: Group icons (.group instead of .stick) ( #5737 )
...
* replace stick with group + update the themes
* Update nav_menu.phtml
---------
Co-authored-by: math-gh <>
2023-10-24 23:43:50 +02:00
Alexandre Alapetite
bfdf7b05ca
Note about OpenID Connect only for x64 ( #5730 )
...
https://github.com/FreshRSS/FreshRSS/issues/5722
2023-10-24 11:54:37 +02:00
Alexandre Alapetite
58cf2f058f
Fix actions/jekyll-build-pages
...
Attempt to fix https://github.com/FreshRSS/FreshRSS/issues/5721
2023-10-24 01:25:44 +02:00
Alexandre Alapetite
780088b16b
Move to GitHub Actions for our GitHub Pages ( #5681 )
...
https://github.blog/2022-08-10-github-pages-now-uses-actions-by-default/
2023-10-23 23:13:44 +02:00
Alexandre Alapetite
29f3a41d12
Start next version 1.22.1-dev
2023-10-23 23:12:02 +02:00
Alexandre Alapetite
a2588fea22
Release 1.22.0
1.22.0
2023-10-23 22:38:59 +02:00
maTh and math-gh
41d7005c0e
Improved: Theme nord more improvement ( #5719 )
...
* new article banner
* optimize side nav bar: close button, width, background
* fix dropdown menu little arrows
* active buttons dropdown menu
---------
Co-authored-by: math-gh <>
2023-10-23 22:35:40 +02:00
Alexandre Alapetite
af854f07d7
Changelog 1.22 ( #5717 )
...
* Changelog 1.22
* Until page 9
* A bit more
* Add last changes
* Finalise
* More credits
2023-10-23 19:56:45 +02:00
robertdahlem and Alexandre Alapetite
83cf7301f4
Do not update feeds after import ( #5629 )
...
* Add checkbox to not update feeds after import to avoid duplicate feeds when importing multiple files.
* Import without updating feeds, but now unconditionally
* Added hint to click "Update feeds" to all translations
* Update app/i18n/fr/feedback.php
* Fix i18n
---------
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr >
2023-10-22 19:03:51 +02:00
Alexandre Alapetite
430d467b5a
Try Catch for window.Notification ( #5690 )
...
fix https://github.com/FreshRSS/FreshRSS/issues/5687
Exceptions might be thrown in some cases
https://developer.mozilla.org/docs/Web/API/Notification/Notification
2023-10-22 19:02:39 +02:00
maTh and math-gh
3116fbdbc0
improved: Nord theme ( #5689 )
...
* fix border at the end of stream
* bigMarkAsRead button
* .nav_menu .btn
* transition faster
* improve the unread counter
* config menu headlines
* btn-attention
* dropdown menu
* fix pipeline
* improve variables
* slider border
* border inputs
* navigation hover
* fix pipeline
* .btn border + hover
* subsc. mgm. border
* menue more padding for the headline
* dropdown + vars
* scrollbar
* sticky buttons
* article + reader view
* fix pipeline
* fix dropdown-menu dropdown-header in header/footer of article
* fix display config page
* improve .box user queries
* improve .box user queries
* select
* fix .stick .btn
* kdb border
* hover icons
* vars optimized
* icons updated
* improve .stick
* notifications
* alerts improved
* fix pipeline
* theme-preview arrows
* improve alerts colors
* main feed navigation
* .content
* pagination
---------
Co-authored-by: math-gh <>
2023-10-20 12:36:46 +02:00
NaeiKinDus
ed07055ace
fix(minz): fix malformed HTTP header ( #5699 )
2023-10-11 22:36:15 +02:00
maTh and math-gh
6f228453e4
margins in feed navigation bar ( #5695 )
...
Co-authored-by: math-gh <>
2023-10-09 20:26:16 +02:00
573e8e7072
delete BlueLagoon and Screwdriver ( #5694 )
...
* delete BlueLagoon and Screwdriver
* Remove BlueLagoon from typos config
---------
Co-authored-by: math-gh <>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr >
2023-10-08 20:25:36 +02:00
Alexandre Alapetite
13a1c412df
Minor update dependencies ( #5693 )
...
* Minor update dependencies
Follow-up of https://github.com/FreshRSS/FreshRSS/pull/5691
Mostly dev dependencies; nothing that affects our runtime
* Update versions for GitHub Actions
* Fix newly found typos
* Fix exclude path
2023-10-08 20:19:17 +02:00
dependabot[bot]
8d72465f28
Bump postcss from 8.4.26 to 8.4.31 ( #5691 )
...
Bumps [postcss](https://github.com/postcss/postcss ) from 8.4.26 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases )
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss/compare/8.4.26...8.4.31 )
---
updated-dependencies:
- dependency-name: postcss
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-08 01:56:38 +02:00
maTh and math-gh
f5c3a9004d
Theme selector always visible ( #5688 )
...
Co-authored-by: math-gh <>
2023-10-07 21:30:46 +02:00
VYSE V.E.O and Alexandre Alapetite
b82c41f6b9
Test if set_time_limit exists ( #5675 )
...
* Fix @set_time_limit as @-operator after PHP8 no longer suppresses disabled functions
* preserve @ decorator
* Fix whitespace
---------
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr >
2023-09-27 21:40:05 +02:00
Alexandre Alapetite
89a3d36c3e
Fix search using user queries ( #5669 )
...
fix https://github.com/FreshRSS/FreshRSS/issues/5668
2023-09-26 22:38:09 +02:00
Alexandre Alapetite
86d713478b
docker-compose PostgreSQL 16 ( #5661 )
...
https://www.postgresql.org/about/news/postgresql-16-released-2715/
Watch out, there are no auto-updates between major versions
2023-09-24 00:39:50 +02:00
berumuron
662c9fcc2f
fix: Fix check of existing usernames in cli scripts ( #5667 )
...
`preg_grep` returns an empty array if the username matches no elements
from the usernames array.
Regression introduced in 7f9594b8c7
Reference: https://github.com/FreshRSS/FreshRSS/pull/5501
2023-09-22 11:41:49 +02:00
Alexandre Alapetite
2cb4f2e233
Fix dev container Apache logs ( #5660 )
...
Apache logs were not available from the dev container.
Quick fix while waiting for a better integrated solution (e.g. coming in output window) - contributions welcome.
2023-09-18 08:41:25 +02:00
Alexandre Alapetite
0beabc333f
Sensitive base-url ( #5657 )
...
https://github.com/FreshRSS/FreshRSS/pull/5656#issuecomment-1719802075
Make read-only while waiting for a better approach (which can wait till release 1.23)
2023-09-15 08:20:38 +02:00
Alexandre Alapetite
db53d2655b
Allow string in XPath tags ( #5653 )
...
fix https://github.com/FreshRSS/FreshRSS/issues/5651
2023-09-14 20:24:22 +02:00
Alexandre Alapetite
3617360883
Fix MariaDB size calculation ( #5655 )
...
MariaDB requires an `ANALYZE TABLE` to refresh the size information in the metadata.
At the same time, include `DATA_FREE` in the calculation.
https://mariadb.com/kb/en/information-schema-tables-table/
2023-09-14 20:23:56 +02:00
bc5666cd27
Fix labels in anonymous mode ( #5650 )
...
* Fix labels in anonymous mode
fix https://github.com/FreshRSS/FreshRSS/issues/4305
* Show all tags
* Revert "Show all tags"
This reverts commit 24dfba5017 .
* Add message when no labels
* fixed no label style
* i18n de translation
* Fix in non-anomymous mode
* No class in anonymous mode
---------
Co-authored-by: maTh <1645099+math-GH@users.noreply.github.com >
Co-authored-by: math-gh <>
2023-09-14 20:23:33 +02:00
Sam Cohen and Alexandre Alapetite
52d87c3eaa
Allow configuration of Base URL via website ( #5656 )
...
* Allow configuration of Base URL via website
* Fix alphabetization of CREDITS
* Apply suggestions from code review
* Add Automatic recommendation
---------
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr >
2023-09-13 22:58:10 +02:00
Alexandre Alapetite
0bf33abac8
SQL: Same updateCacheUnreads for all DBs ( #5648 )
...
* SQL: Same updateCacheUnreads for all DBs
Use same SQL update request for MySQL / MariaDB than the one we already used for PostgreSQL / SQLite (i.e. using a sub-query).
Testing on a DB of 688MB with 270k entries, 199 feeds, 19 categories, using MySQL 8.1.0.
The new SQL update using a sub-query took in average 0.02s, while the old SQL update using a join took in average 0.05s. SQL cache was properly invalidated between each run. The new SQL request is thus about twice faster.
Another advantage of the SQL update using a sub-query is that it works identically in PostgreSQL, SQLite, MariaDB, MySQL, so we do need different versions anymore.
Contributes to https://github.com/FreshRSS/FreshRSS/issues/5008#issuecomment-1709755370
* Force USE INDEX
* Use same SQL methods also for markReadEntries, markReadCat
2023-09-12 13:44:17 +02:00
Alexandre Alapetite
f050a94b48
SQL: clean old auto-updates ( #5649 )
...
Should help with some DB lock issues.
Complete https://github.com/FreshRSS/FreshRSS/pull/3558 after https://github.com/FreshRSS/FreshRSS/pull/5625 already cherry-picked from it.
* Removed auto-update of MySQL GUID case sensitivity
https://github.com/FreshRSS/FreshRSS/pull/2078
* Contributed to a DB lock in https://github.com/FreshRSS/FreshRSS/issues/5008
Also removed the following non-problematic auto-updates, simply because they were older than the above ones
* Auto-create custom labels (1.12.0) https://github.com/FreshRSS/FreshRSS/pull/2027
* Auto-add JSON column for feeds (1.11.0) https://github.com/FreshRSS/FreshRSS/pull/1838
* Auto-create temporary tables (1.7.0) https://github.com/FreshRSS/FreshRSS/pull/1470
2023-09-12 10:43:14 +02:00
maTh and math-gh
f5aba79d14
Update page css class changed ( #5647 )
...
Co-authored-by: math-gh <>
2023-09-10 16:07:14 +02:00
Balazs Keresztury
f470724c6e
add oidc callback URL and hints for Authelia to docs ( #5646 )
2023-09-10 15:36:14 +02:00
maTh and math-gh
61a2828820
i18n: shortened text strings ( #5636 )
...
* i18n
* fix
---------
Co-authored-by: math-gh <>
2023-09-10 15:27:13 +02:00
Alexandre Alapetite
24be95756f
Docker MySQL update doc ( #5639 )
...
Remove obsolete parameter not needed anymore now that all our images are using PHP 8+
2023-09-09 11:15:09 +02:00
maTh and math-gh
9beba6337e
i18n: German translation of admin.php (new update page) ( #5640 )
...
Co-authored-by: math-gh <>
2023-09-06 23:12:20 +02:00
Alexandre Alapetite
98559cebc3
Remove obsolete TTL migration code ( #5625 )
...
Remove `updateTTL` function used to help migration to 5+ year-old FreshRSS 1.10 and FreshRSS 0.7.3 https://github.com/FreshRSS/FreshRSS/pull/1750
This function contributed to locking the database https://github.com/FreshRSS/FreshRSS/pull/5574
Subset of https://github.com/FreshRSS/FreshRSS/pull/3558
2023-09-06 21:41:17 +02:00
Alexandre Alapetite
2e1d45a88d
Fix parenthesis escaping bug ( #5633 )
...
fix https://github.com/FreshRSS/FreshRSS/issues/5632
In the SQL search, parentheses should not be escaped. Escaped parenthesis in the SQL search were tolerated by PostgreSQL but not by SQLite.
2023-09-05 17:33:38 +02:00
Alexandre Alapetite
1c7c1016f4
Fix JSON export/import ( #5626 )
...
* Fix import with empty content
fix https://github.com/FreshRSS/FreshRSS/issues/5622
Cherry picks on https://github.com/FreshRSS/FreshRSS/pull/5584
* Fix export of tags / labels
Article-defined tags were wrongly exported as user-defined labels.
* Fix export of tags / labels
Article-defined tags were wrongly exported as user-defined labels.
* Fix bug with many labels
* Better typing
* Comments
2023-09-04 10:09:37 +02:00
da405ceee6
Fix: sharing via clipboard for no https/localhost environments ( #5606 )
...
* Update main.js
* Update p/scripts/main.js
Co-authored-by: Frans de Jonge <fransdejonge@gmail.com >
* improved with negative feedback
* Update p/scripts/main.js
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr >
---------
Co-authored-by: Frans de Jonge <fransdejonge@gmail.com >
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr >
2023-08-29 23:15:19 +02:00
Miguel Sánchez
dd91fe164d
Add myself to credits ( #5610 )
2023-08-25 13:49:13 +02:00
Miguel Sánchez
06b613a50d
Fixed Spanish translation typo ( #5609 )
2023-08-24 19:54:28 +02:00
András Marczinkó
92e56ddc27
Added myself to the credits ( #5605 )
2023-08-22 21:14:29 +02:00
András Marczinkó and Alexandre Alapetite
93fb55c9f8
Fixed some typos in the Hungarian translation ( #5593 )
...
* Fixed some typos in the Hungarian translation
* Fixed a misspelled word in the Hungarian translation
---------
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr >
2023-08-22 00:40:45 +02:00
maTh
3b4a865ce6
Fix background color of <pre> in Dark mode ( #5603 )
2023-08-22 00:37:42 +02:00
FromTheMoon
6749adc050
Add Hungarian language ( #5589 )
...
* Add Hungarian language
* Fixed missing lines in Hungarian translation
2023-08-15 11:18:47 +02:00
Alexandre Alapetite
d165ed1fb6
Fix hash of articles with loadCompleteContent ( #5576 )
...
* Fix hash of articles with loadCompleteContent
The detection of modified articles was wrong for feeds using loadCompleteContent. Indeed, the hash is supposed to computed on the content provided by the server of the RSS feed, excluding further modifications.
Furthermore, read hash from database instead of recomputing it all the time.
Slightly related to https://github.com/FreshRSS/FreshRSS/pull/5574
* Explicit SQL alias
* PHPDocs
2023-08-13 15:11:22 +02:00
berumuron
54592fa1fd
fix: Fix the "Show all articles" option ( #5580 )
2023-08-10 17:02:47 +02:00
berumuron
1e0e4f54a5
fix: Allow to access logs when update is disabled ( #5577 )
2023-08-10 16:43:15 +02:00
berumuron
eb57f490db
tec: Make FreshRSS_Share::register public ( #5578 )
...
I don't know why the visibility of this method has changed, but it's
essential to register custom shares as extensions.
Reference: a13a20de20
2023-08-10 16:41:16 +02:00