aboutsummaryrefslogtreecommitdiff
path: root/p
AgeCommit message (Collapse)Author
2019-10-28Fix unread styles (#2612)Gravatar Frans de Jonge
* [fix] Flat unread CSS style Same as #2611. * [fix] Origine-Compact unread CSS style Same as #2611. * [fix] Swage unread CSS style Same as #2611.
2019-10-27[fix] Origine unread CSS style (#2611)Gravatar Frans de Jonge
Fixes #2604.
2019-10-23Workaround for MySQL limitation 1093 (#2586)Gravatar Alexandre Alapetite
* Workaround for MySQL limitation 1093 https://github.com/FreshRSS/FreshRSS/pull/2335#issuecomment-545194606 including minor Travis fixes
2019-10-23Feature/new archiving (#2335)Gravatar Alexis Degrugillier
* Change archiving config page layout I've changed some wording and moved actions into a maintenance section. * Update purge action Now we have more control on the purge action. The configuration allows us to choose what to keep and what to discard in a more precise way. At the moment, the configuration applies for all feeds. * Add purge configuration on feed level Now the extend purge configuration is available on feed level. It is stored as attributes and will be used in the purge action. * Update purge action Now the purge action uses the feed configuration if it exists and defaults on user configuration if not. * Add empty option in period list * Fix configuration warnings * Add archiving configuration on categories See #2369 * Add user info back * Add explanations in UI * Fixes for SQLite + error + misc. * Fix invalid feed reference * Short array syntax Only for new code, so far * Fix prefix error * Query performance, default values Work in progress * Fix default values and confirm before leaving Form cancel and confirm changes before leaving were broken. And start taking advantage of the short echo syntax `<?= ?>` as we have moved to PHP 5.4+ * More work * Tuning SQL * Fix MariaDB + performance issue * SQL performance * Fix SQLite bug * Fix some attributes JSON encoding bugs Especially for SQLite export/import * More uniform, fix bugs More uniform between global, category, feed settings * Drop special cases for old articles during refresh Instead will use lastSeen date with the new archiving logic. This was generating problems anyway https://github.com/FreshRSS/FreshRSS/issues/2154 * Draft drop index keep_history Not needed anymore * MySQL typo Now properly tested with MySQL, PostgreSQL, SQLite * More work for legacy values Important to avoid overriding user's preference and risking deleting data erroneously * Fix PHP 7.3 / 7.4 warnings @aledeg "Trying to use values of type null, bool, int, float or resource as an array (such as $null["key"]) will now generate a notice. " https://php.net/migration74.incompatible * Reintroduce min articles and take care of legacy parameters * A few changes forgotten * Draft of migration + DROP of feed.keep_history * Fix several errors And give up using const for SQL to allow multiple database types (and we cannot redefine a const) * Add keep_min to categories + factorise archiving logic * Legacy fix * Fix bug yield from * Minor: Use JSON_UNESCAPED_SLASHE for attributes And make more uniform * Fix sign and missing variable * Fine tune the logic
2019-10-20Comply with LibreJS (#2576)Gravatar Alexandre Alapetite
https://www.gnu.org/software/librejs/ https://addons.mozilla.org/firefox/addon/librejs/ Did not touch jquery.min.js because it is a third party script, which is regularly updated, and the add-on does not seem to block it enough to break our statitics page, which remains usable.
2019-10-16Fix for broken read icon in Firefox (#2571)Gravatar Offerel
* Fix for broken reading view icon in Firefox * Update CREDITS.md * Update CREDITS.md * Fix for broken read icon in Firefox
2019-10-15Fix for broken reading view icon in Firefox (#2569)Gravatar Offerel
2019-10-09Fix API i18n (#2565)Gravatar Alexandre Alapetite
Fix https://github.com/FreshRSS/FreshRSS/issues/2564
2019-10-01Workaround for Firefox favicon glitch (#2543)Gravatar Alexandre Alapetite
Observed in Firefox 69: the favicon is sometimes refreshed with an old favicon that does not have the number of unread items on it. Seems to depend on load speed.
2019-09-29Quick fix: API PDO visibility bug (#2545)Gravatar Alexandre Alapetite
Introduced in https://github.com/FreshRSS/FreshRSS/pull/2522
2019-09-29PDO refactoring for code simplification (#2522)Gravatar Alexandre Alapetite
* PDO refactor * Automatic prefix when using the syntax `_tableName` * Uniformity: MySQL is now PDO::ATTR_EMULATE_PREPARES = false just like SQLite and PostgreSQL, with consequences such as only one statement per query * Use PDO methods exec(), query(), prepare() + execute() in a more efficient way * Remove auto-update SQL code for versions older than FreshRSS 1.5 (3 years old) * The name of the default category is set in PHP instead of in the DB (simplies SQL and allows changing the name according to the FreshRSS language) * Rename `->bd` to `->pdo` (less of a frenshism, and more informative) * Fix some requests, which were not compatible with MySQL prepared statements * Whitespace * Fix syntax for PostgreSQL sequences + MySQL install * Minor formatting * Fix lastInsertId for PostgreSQL * Use PHP 5.6+ const Take advantage of https://github.com/FreshRSS/FreshRSS/pull/2527 https://www.php.net/manual/en/migration56.new-features.php * A bit of forgotten PHP 5.6 simplification for cURL * Forgotten $s * Mini fix custom user config https://github.com/FreshRSS/FreshRSS/pull/2490/files#r326290346 * More work on install.php but not finished * install.php working * More cleaning of PDO in install * Even more simplification Take advantage of PDO->exec() to run multiple statements * Disallow changing the name of the default category https://github.com/FreshRSS/FreshRSS/pull/2522#discussion_r326967724
2019-09-28Optimize dynamic favicon for HiDPI screens (#2539)Gravatar rocka
This PR leveraging `window.devicePixelRatio` to generate high resolution favicons for HiDPI screens.
2019-09-18API Reeder compatibility (#2526)Gravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/issues/2513
2019-08-29tec: Ignore theme folders starting by xTheme- (#2511)Gravatar Marien Fressinaud
2019-08-22IE11 / Edge keyboard compatibility (#2507)Gravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/pull/2506#issuecomment-523544684
2019-08-21Prevent window opener vulnerability with space shortcut (#2506)Gravatar ArthurHoaro
* Prevent window opener vulnerability with space shortcut This change fixes a vulnerability introduced by `window.open()` on untrusted sources. It reproduces the effect of `rel="noreferrer"` with JS. Cross browser solution from: https://stackoverflow.com/a/40593743 ## Reproduction > tested with Firefox 68 1. Add this RSS feed 2. Open the 2nd link "À propos de la faille de sécurité liée à target="_blank" **using the space key shortcut**. 3. Click on the first of three links "http://bookmarks.ecyseo.net" Current behaviour: the FreshRSS tab changes. Expected behaviour: no effect on FreshRSS * Test for popup blockers
2019-08-20Require PHP 5.5+ (#2495)Gravatar Alexandre Alapetite
* Require PHP 5.5+ https://github.com/FreshRSS/FreshRSS/issues/2469#issuecomment-522255093 I think it would be reasonable to require PHP 5.5+ for the core of FreshRSS after all. As Frenzie said, WordPress currently requires PHP 5.6.20+, and it is the most popular PHP application. We would loose about 20% of the PHP servers according to https://w3techs.com/technologies/details/pl-php/5/all but I expect this number to drop fast after the release of CentOS 8 (CentOS accounts for 17% of Linux servers https://w3techs.com/technologies/details/os-linux/all/all ). Distributions: * no impact on Ubuntu, Fedora, Alpine, OpenWRT, FreeBSD, OpenSuze, Mageia, as all active versions have PHP > 7 * no impact on OpenSuze, Synology, as all active versions have PHP > 5.5 * we drop Debian 8 Jessie (-2020) - we keep supporting Debian 9 Stretch (2017-06) - current is Debian 10 Buster * we drop Red Hat 7 (-2024) - we keep supporting RHEL 8 (2019-05) * we drop CentOS 7 (-2024) - we will support CentOS 8 (to be released soonish) When dropping older versions, I can better like when it is for a good reason, and there is actually one with PHP 5.5, namely generators (yield) https://php.net/language.generators.overview which I consider using. * Version note for JSON.php * hex2bin * Update .travis.yml Co-Authored-By: Frans de Jonge <fransdejonge@gmail.com>
2019-08-14[CI] Run stylelint (#2477)Gravatar Frans de Jonge
* [CI] Run stylelint Perform some basic CSS sanity checking and style enforcement. I removed vendor prefixed linear-gradient and transform because those are from the IE9 era. With IE11 as a minimum and soon obsolete requirement it doesn't make much sense anymore. * Remove as-link override * Don't require newline after comment * Also apply those newline rules to SCSS * refine opening/closing braces, allow for single-line
2019-08-14Added option to display authors under article titles (#2487)Gravatar Joris Kinable
This feature is particularly useful to display authors underneath scientific articles.
2019-07-31Add support for images to the ext.php endpoint (#2465)Gravatar Marien Fressinaud
2019-07-22[CI] Run shellcheck and shfmt (#2454)Gravatar Frans de Jonge
* [CI] Run shellcheck and shfmt Cf. https://github.com/FreshRSS/FreshRSS/pull/2436#discussion_r305640019 * rename * no need for disable anymore * also remove leftover indentation flags even if it makes no difference to syntax checking * define colors and reset before exit for local use
2019-07-20Issue #2446 : Fix passing authentication headers (#2449)Gravatar Nick Cross
* Issue #2446 : Fix passing authentication headers. Use CGIPassAuth is version is high enough * Issue #2446 : Remove CGIPassAuth due to potential issues with AllowOverride rights. * Tabs
2019-07-13Change to fix issues 2251 (#2301)Gravatar Uncovery
* Change to fix issues 2251 This is a proposed change to fix issue https://github.com/FreshRSS/FreshRSS/issues/2251 * Remove comments
2019-07-08Don't ignore br tags. (#2439)Gravatar Rosemary Le Faive
2019-06-22jQuery 3.4.1 (#2424)Gravatar Alexandre Alapetite
Only used for statistics graphs
2019-06-21Change category configuration (#2410)Gravatar Alexis Degrugillier
* Change category configuration Before, we had a drop-down list to interract on categories. It was not working the same way as feeds. Now, categories and feeds behave in a similar manner. At the moment, there is no change in features but it will allow to expand them. See #2369 * Minor whitespace
2019-06-21Make Aside sit on top of New Articles Popup (#2416)Gravatar Patrick
Fixes #2379.
2019-06-16Fix API remove category (#2412)Gravatar Alexandre Alapetite
Fix https://github.com/FreshRSS/FreshRSS/issues/2411
2019-05-30Merge pull request #2374 from aledeg/feature/print-cssGravatar Alexandre Alapetite
Add theme to print page
2019-04-16Add theme to print pageGravatar Alexis Degrugillier
Before, the printed page didn't have any usable CSS. Now, it uses the css files available in the application. It means that custom CSS can be add to target printed page. See #2149
2019-04-16Forgotten colourGravatar Alexandre Alapetite
2019-04-16More minimal patchGravatar Alexandre Alapetite
2019-04-16Fix Sage theme SVG refreshGravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/issues/2375
2019-04-07Fix API minor code syntax warning (#2362)Gravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/issues/2359#issuecomment-480620713
2019-04-07Alow mix of auto read options (#2354)Gravatar Alexandre Alapetite
Fix https://github.com/FreshRSS/FreshRSS/pull/2349#issuecomment-480540126
2019-04-06Fix menu warning (#2353)Gravatar Alexandre Alapetite
confirm is only for labels, not for feeds
2019-04-06Fix autoremove again (#2352)Gravatar Alexandre Alapetite
Fix https://github.com/FreshRSS/FreshRSS/pull/2349
2019-04-06Fix hide articles + batch option (#2349)Gravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/issues/2332 https://github.com/FreshRSS/FreshRSS/issues/2345 Re-introduces the instant-remove article. Batch mark-as-read only used for fast actions like scroll and keyboard shortcut for next/previous articles.
2019-04-06Fix for extensions on Windows (#2348)Gravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/issues/994 https://github.com/FreshRSS/FreshRSS/issues/2287
2019-04-06Better handling of bad request and fast unload (#2346)Gravatar Alexandre Alapetite
* Better handling of bad request and fast unload Warnings for bad requests, confirmation before leaving a page with pending mark-as-read requests (not the others for now) * Fix callbacks
2019-04-04Fix scroll functions in Edge (#2337)Gravatar Alexandre Alapetite
Use more standard / robust document.scrollingElement
2019-04-03Fix shortcut problem when showing articles unfolded (#2336)Gravatar Alexandre Alapetite
Fix https://github.com/FreshRSS/FreshRSS/issues/2328
2019-04-03Fix auto_remove_article (#2334)Gravatar Alexandre Alapetite
* Fix auto_remove_article https://github.com/FreshRSS/FreshRSS/issues/2323 * Second attempt * Third attempt
2019-04-02Fix control click (#2330)Gravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/issues/2310
2019-04-01[CI] Lint JS scripts with jshint (#2315)Gravatar Frans de Jonge
2019-04-01Fix ASC load more (#2318)Gravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/issues/2314
2019-03-27Minor code simplificationGravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/pull/2300
2019-03-25Wait for mark-as-read queue before click (#2300)Gravatar Alexandre Alapetite
2019-03-22Rework CSRF interaction with sessions (#2290)Gravatar Alexandre Alapetite
* Rework CSRF interaction with sessions Fix https://github.com/FreshRSS/FreshRSS/issues/2288 Improve security in some edge cases Maybe relevant for https://github.com/FreshRSS/FreshRSS/issues/2125#issuecomment-474992671 * Forgotten mime type
2019-03-19Fever remove semicolomn from author (#2283)Gravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/issues/2281