Commit Graph

7003 Commits

Author SHA1 Message Date
Alexandre Alapetite
20223b8b01 Automatic API test (#2207)
* Automatic API test

Easier for end-user, smarter, and the guess testing of greader
authorization token was not reliable.

* Travis + minor
2019-01-05 12:33:18 +01:00
Alexandre Alapetite
30327efecd Merge branch 'FreshRSS/dev' into FreshRSS/dev-1.14.0 2019-01-02 21:46:21 +01:00
Alexandre Alapetite
945cf832ad HTTP authenfication fixes (#2204)
* Security fixes when HTTP user does not exist in FreshRSS
* Accept HTTP header X-WebAuth-User for delegated HTTP Authentication (e.g. Træfik)
* Document delegated HTTP authentication from https://github.com/FreshRSS/FreshRSS/pull/2202
2019-01-02 21:43:05 +01:00
Alexandre Alapetite
a6623b7b2f Apache performance (#2202)
* Apache performance
API: Use SetEnvIf if available and fallback to RewriteRule
Docker: Disable unused modules.
Docker: Hard-include .htaccess to avoid having to scan for changes in
that file.
Docker: Disable security check of symlinks, which we do not use ayway.

* Apache readme

* Docker/Apache tuning
Run cron job with correct www-data user instead of root
Remove PHP GMP module uneeded for 64-bit Docker image
Add option to mount custom .htaccess for HTTP authentication
Re-add Apache module for HTTP authentication
Move Alpine-specific instructions to Docker file (instead of Apache
conf) to make it easier to have other base images than Alpine
2019-01-02 21:36:33 +01:00
Alexandre Alapetite
a0f1b76918 Merge pull request #2199 from Alkarex/batch-scroll-as-read
Batch scroll as read + reducing jQuery
2018-12-29 11:33:31 +01:00
Alexandre Alapetite
92de09bac4 Changelog 2201
https://github.com/FreshRSS/FreshRSS/pull/2201
https://github.com/FreshRSS/FreshRSS/pull/2191
2018-12-27 23:14:19 +01:00
Alexandre Alapetite
e9d50f48eb HTTP_X_FORWARDED_PREFIX for cookie path (#2201)
Forgotten. Follow-up of https://github.com/FreshRSS/FreshRSS/pull/2191
2018-12-27 22:57:30 +01:00
Alexandre Alapetite
f9555db678 IE11 fixes 2018-12-27 03:49:20 +01:00
Alexandre Alapetite
caa893e14b Optimise onscroll routines
Much lighter rework: auto-mark-as-read, auto-remove-articles,
auto-load-more.
In particular, use a single onscroll event handler with a throtte.
Continue removing jQuery when possible.
2018-12-27 03:34:56 +01:00
Alexandre Alapetite
8f03b370cc Send item queue as POST
Which also simplifies the request
2018-12-25 16:10:20 +01:00
Alexandre Alapetite
6fa09318ce Semove superfluous window. object 2018-12-25 16:09:48 +01:00
Alexandre Alapetite
cd9a9a9309 First version of batch scroll as read
Mark-as-read requests are queued and sent max once per second
2018-12-25 15:34:25 +01:00
Alexandre Alapetite
eefeb23419 jQuery ES6 partial refactoring
Prefix jQuery variables with $
Start avoiding jQuery in easy cases
Use let/const
2018-12-25 05:11:38 +01:00
Alexandre Alapetite
4888f919f1 Prepare for batch mark as read 2018-12-25 01:30:28 +01:00
Alexandre Alapetite
06ea2626e8 Start 1.13.1-dev 2018-12-23 22:02:36 +01:00
Alexandre Alapetite
f0a359619f Merge pull request #2186 from FreshRSS/dev
FreshRSS 1.13.0
1.13.0
2018-12-22 13:22:20 +01:00
Alexandre Alapetite
4a1a852f45 Release FreshRSS 1.13.0
https://github.com/FreshRSS/FreshRSS/pull/2186
https://github.com/FreshRSS/FreshRSS/milestone/32
https://github.com/FreshRSS/FreshRSS/milestones/1.13.0
2018-12-22 13:14:08 +01:00
Alexandre Alapetite
949c2f3083 Fix .gitignore take 3 (#2195)
* Fix .gitignore take 3

https://github.com/FreshRSS/FreshRSS/pull/2190
https://github.com/FreshRSS/FreshRSS/pull/2193

* Readme
2018-12-22 12:04:26 +01:00
Quentí
a3b460b3a8 Update conf.php (#2194) 2018-12-22 12:02:59 +01:00
Alexandre Alapetite
fd3fd3387e Update chmod for LICENSE.txt 2018-12-22 11:39:08 +01:00
Alexandre Alapetite
077ea76935 Second attempt at fixing .gitignore (#2193)
https://github.com/FreshRSS/FreshRSS/pull/2190
2018-12-22 11:22:52 +01:00
Alexandre Alapetite
c40b277fc6 Changelog 1694 2190
https://alpinelinux.org/posts/Alpine-3.8.2-released.html
https://github.com/FreshRSS/FreshRSS/issues/1694
https://github.com/FreshRSS/FreshRSS/pull/2190
https://github.com/FreshRSS/FreshRSS/pull/2192
2018-12-22 11:08:07 +01:00
Alexandre Alapetite
a65ca3864a Add Liberapay icon (#2192)
https://liberapay.com/FreshRSS
https://github.com/FreshRSS/FreshRSS/issues/1694
2018-12-21 12:26:20 +01:00
Alexandre Alapetite
56ef357747 Changelog 2191
https://github.com/FreshRSS/FreshRSS/pull/2191
https://github.com/FreshRSS/FreshRSS/pull/2189
2018-12-20 17:40:23 +01:00
Alexandre Alapetite
2c3b6adb6d hub.docker.com
https://blog.docker.com/2018/12/the-new-docker-hub/
2018-12-18 21:03:03 +01:00
Alexandre Alapetite
aaed69252b Support of proxies with subfolder / path rules (#2191)
Support HTTP_X_FORWARDED_PREFIX HTTP_X_FORWARDED_HOST
Improve Docker/Træfik for rules based on path/sub-folder
2018-12-18 20:41:06 +01:00
Alexandre Alapetite
1a1ed64ad5 Fix dockerignore (#2190) 2018-12-18 20:40:46 +01:00
Alexandre Alapetite
c78be1371e Update Docker readme (#2189)
* Update Docker readme

Promote the use of an automated reverse proxy such as Træfik. Propose
other good practices.

* Typo
2018-12-18 09:05:39 +01:00
Alexandre Alapetite
66f5927892 Readme 1407
https://github.com/FreshRSS/FreshRSS/issues/1407
https://github.com/FreshRSS/FreshRSS/pull/2188
2018-12-18 01:30:46 +01:00
Patrick Crandol
1b26a873db Add New Article banner to reader mode (#2188) 2018-12-17 23:38:26 +01:00
Alexandre Alapetite
0e69b27972 Update Travis badge for French version 2018-12-16 22:12:15 +01:00
Alexandre Alapetite
8973b17bad Readme more minor changes 2018-12-16 22:06:17 +01:00
Alexandre Alapetite
03fd730e5f Minor reorganisation of the readme 2018-12-16 21:56:55 +01:00
Alexandre Alapetite
76718e6aeb Changelog 2184
https://github.com/FreshRSS/FreshRSS/pull/2184
2018-12-16 17:39:21 +01:00
Alexandre Alapetite
efb16855c2 Changelog in late 2018-12-16 17:36:15 +01:00
Alexandre Alapetite
512d047f02 Update naming to WebSub (#2184)
Instead of PubSubHubbub / PuSH
2018-12-16 17:02:03 +01:00
Alexandre Alapetite
e0e96d6a13 Remove simple-scrollbar fallback (#2182)
https://github.com/FreshRSS/FreshRSS/pull/2181#issuecomment-447636787
2018-12-16 15:04:46 +01:00
Alwaysin
49869882e6 Documentation update (#2095)
* Add Phoronix CSS retrieve rule

* Update 05_Configuration.md

Mise à jour paragraphe des langues
Ajout règle CSS Phoronix

* Ajout outils externes pour récupérer contenu complet article

* Adding external tools to retrieve full-content

* Messed up for Phoronix, added back

* Update 05_Configuration.md

* Update 05_Configuration.md
2018-12-16 14:45:26 +01:00
Alexandre Alapetite
75a0b12c72 Documentation Vienna (#2126)
* Documentation Vienna / Open Reader

https://github.com/FreshRSS/FreshRSS/issues/2091
https://github.com/FreshRSS/FreshRSS/pull/2093
https://github.com/ViennaRSS/vienna-rss/issues/1197

* Remove references to Open Reader API for now
2018-12-16 14:43:32 +01:00
Alexandre Alapetite
bf838e74f4 French readme parity English (#2183)
https://github.com/FreshRSS/FreshRSS/pull/2158#issuecomment-444217219
2018-12-16 14:33:59 +01:00
Alexandre Alapetite
483c698f9a JavaScript-free scrollbar (#2181)
* JavaScript-free scrollbar

Make scrollbar work without JavaScript
https://github.com/FreshRSS/FreshRSS/pull/2117#discussion_r240804225
Also implies a better support of resize scenarios.
Seems to fix at the same time the occasional glitches
https://github.com/FreshRSS/FreshRSS/pull/2117#issuecomment-447556038

* Firefox 64-66 workaround

Workaround for Gecko bug in Firefox 64-66. Avoid showing the scrollbar
all the time, at the cost of a slight reflow (therefore targetting only
Gecko).

* Improvement of Firefox workaround

* Minor comment

* Unneeded check

* Even better

* Partial Edge fix

* More margin for tree bottom
2018-12-16 12:49:23 +01:00
Patrick Crandol
983aa587ee Add aside_feed to reader view (#2180)
* Add Nav menu to reader mode

At this point, it appears to be non-functional in reader mode.

* Add aside_feed toggle to reader view

* make init_column_categories work in reader view

* Make sidebar links redirect to proper view

* CSS to support toggleable sidebar in reader view

* remove unneeded !important
2018-12-15 10:56:38 +01:00
Patrick Crandol
478d3e6611 Decouple scrolling of feeds and articles (#2117)
* Remove Sticky Kit

Remove sticky-kit, as functionality is unsuitable for separate scrolling.

* Remove sticky-kit load in main.js

Further removing the sticky-kit kruft

* Finish removal of references to Sticky-kit

* CSS Changes to template for Independent Scrolling

* Addition of JS and supporting CSS and html

* More CSS fixes to establish expected behavior

Should be able to scroll navbar without it being in sticky mode now.

* Fix typo in main.js

sortcut.js -> shortcut.js

* Fix unexpected tree scrolling behavior

* Change name of generic JS function

* Improve sticky-aside

* CSS changes in themes to accommodate  independent Scroll

In themes where .aside's width is not the standard 300px, .tree's width must be specified to be equal to .aside

* Remove Sticky-Kit from README files

* Updates to Sticky-Aside

* Update Template to fix screwup

* Make Recalculating height actually work

* Let sidebar fill height if nav buttons aren't visible

* Make accommodating for nav buttons actually work

* update Swage theme for Independent Scroll feature

* Integrate sticky_aside into main.js

* Add Simple Scrollbar

* Patch scrollbar color for themes with dark colored asides

* Increase Visibility of scrollbar on Dark Themes

* Improve async loading, events, and performance

* CSS typo

* Fix double scrollbar on mobile

* Fix regression causing sticky to not be removed

* No $ for non-jQuery variables

* Fix strange condition + option for nice scrollbar

* Initial attempt to use css sticky

* Add stickyfill

* make the correct element sticky

* re-add incorrectly removed sidebar code

* Continue fixing mistaken deletions

* decrease frequency of recalc

* use minified version of simple-scrollbar.

* Load stickyfill instead of injecting

* put recalc back where it belongs

* re-remove script injector

* remove padding

bottom padding was causing the last item in the feed to be hidden under the nav buttons

* Manual merge of css_scrollbar

Add auto-detection of -webkit-scrollbar-thumb, otherwise fall back to
simple-scrollbar.js

* Fix Regression

Sticky recalc is still needed when using css scrollbars

* Replace method of closing dropdowns

Changed from an overlay href to a javascript solution, for better compatibility

* Remove Treepadding

Treepadding was causing dropdown menus at the bottom of the tree to be obscured.

* Undo unnecessary move of dropdown-target

* Move Dropdown Handler to a sensibleish place

* Fix light Scrollbar color not picking up on Firefox

* Minor syntax

* Minor Clarification of CSS/ patch BlueLagoon

* Change logic for native WebKit scrollbar detection

Fix
https://github.com/FreshRSS/FreshRSS/pull/2117#issuecomment-444251419
Tested with Firefox 63, Firefox 65, Chrome 71, IE11, Edge 42

* Fixes for other views

E.g. reader view

* Cleaner way of generating hash for dropdowns

* Make dropdown-toggle an actual toggle

* Prepare for CSS Scrollbars Module Level 1

* Fix regression causing my labels dropdown not to appear

* remove unneeded dropdown-close css rule

* Re-apply some lost changes

3c509989e8

* Add standard scrollbar compatibility

E.g. Firefox 64+

* Make All dropdowns click-to-close

* Remove BlueLagoon template

* Try to fix Firefox

https://github.com/FreshRSS/FreshRSS/pull/2117#discussion_r239539984

* Add CSS rules necessary for consistent function of scrollbar in Firefox

* Use inheritance to determine width

* Use overlay scrollbar where possible

* Test Reduced Listener

* Fix Firefox 62

And show subtle scrollbar even when not hovering

* Add margin at bottom

To allow opening the menus
https://github.com/FreshRSS/FreshRSS/pull/2117#issuecomment-444571218

* Minor - tab correction

* Spaces -> tabs

* Remove unneeded inheritance

* Fix indenting

* Revert bad merge

* Messy WIP to make dropdowns work

* Style Cleanup

* Break it down

* Lets try a move-it move-it

* Update p/scripts/main.js

Co-Authored-By: pattems <patrick@crandol.com>

* Update p/themes/BlueLagoon/BlueLagoon.css

Co-Authored-By: pattems <patrick@crandol.com>

*  separate ALL THE THINGS

* erroneous commas

* and to or

* removing double condition that doesn't do what I want

* More breaking down

* fix var

* Fix variable name again

* Remove magic number

https://github.com/FreshRSS/FreshRSS/pull/2117#discussion_r240052598

* Suuuuper inelegant solution for dropdowns

* lets try that again

* Inelegant Fix For Dropdowns

Now with 100% more working dropdowns

* Make sidebar dropdowns work correctly?

* Fix reversion

* Make JS scrollbar always visible

* Remove unneeded CSS

Added early in this pull request, didn't get pulled out when it was obsolete

* Fix CSS removal I missed

* CSS comment update/consistency for dark themes

* Clean Up Duplicate code

* Make dropdowns properly hide

Downside: Can no longer click on header/nav buttons to close

* Strip unneeded if statement

* jshint -W018

https://github.com/FreshRSS/FreshRSS/pull/2117#discussion_r240392851

* Half-reversion to old dropdown

* make overlay href scale to sidebar width

* remove init of nonexistent method

* remove trailing tabs

* move #close href where it belongs in index.phtml

* Revert all changes to index.phtml

* remove whitespace

accidentally added in last commit

* Move var's in init_column categories

* Finish putting old style dropdowns back

* Make CSS changes to use support statements

* Cleanup Whitespace

* re-add missing class

* spaces -> tabs in main.js

* tabs -> spaces css

* Minor whitespace

* Cleanup per @Alkarex

* Second attempt to add bottom margin

https://github.com/FreshRSS/FreshRSS/pull/2117#discussion_r240820901

* Fix error in IE11

* Simple-scrollbar color match for dark themes
2018-12-12 12:04:31 +01:00
Patrick Crandol
a1071e7dd9 Add option to share to Pinboard. (#2178)
* Prelim. Add Pinboard

based on the url found in the "For iPad" section here: https://pinboard.in/howto/

* add i18n string for Pinboard

* Add help to pinboard

* add title to Pinboard Share

Title seems to be an element, but isn't documented in the API. Perhaps it's an alternative to description? It probably won't hurt to include it.

* Feedback from @samplereality

* Minor Whitespace
2018-12-12 00:20:04 +01:00
Patrick Crandol
195c0b6867 Make aria-hidden !important (#2176)
Fix for #2115.
2018-12-11 20:25:53 +00:00
Patrick Crandol
2610db6260 Remove rawurlencode from movim sharing (#2177) 2018-12-11 21:21:59 +01:00
Patrick Crandol
26e3805d1f Delete unnecessary File in BlueLagoon (#2166)
I just realized (despite the fact that I've been editing it for the last month keeping it updated) that BlueLagoon has a copy of template.css in it's theme directory that doesn't do anything.
2018-12-08 00:45:51 +01:00
Nicolas Frandeboeuf
97601a7b1a [Origine-compact] Fix minor buttons height issues (#2165) 2018-12-05 08:57:35 +01:00
Alexandre Alapetite
2f70da06e6 Fix undefined conf (#2163)
Small fix for https://github.com/FreshRSS/FreshRSS/pull/2137
2018-12-04 21:26:10 +01:00
Nicolas Frandeboeuf
8bbf567fde [BlueLagoon] Fix header's height (#2161) 2018-12-04 20:37:52 +01:00