Alexandre Alapetite
22916d6a3e
Loader animation while waiting for first articles ( #2845 )
...
* Loader animation while waiting for first articles
Especially useful when a slow search is being performed.
Thanks to one new flush at the right time, the left colum and top menu
will be there, waiting for the articles to come. This avoids layout
flashes (the left column used to take the full width while waiting for
articles).
For optimal use, this assumes that the deployment has a proper buffering
configuration, such as in our official Docker image (also when using
Træfik as a reverse proxy in front). Might not work just as well with
other Apache or nginx setups.
* Fix on mobile
And simplified CSS
* Properly hide the loader
It was not possible to find a position where the loading animation would
be always hidden after load, so change strategy to hide it automatically
by CSS when the actual content has arrived
5 years ago
Alexandre Alapetite
0f94402b7e
Better performance with yield ( #2588 )
...
* Better performance with yield
Largely decrease the time to first byte, and reduced memory consumtion.
Before, we used to make several copies in memory of the whole list of
articles before sending them to the client. Now streamed as they are
processed.
* Travis
5 years ago
Alexandre Alapetite
7a5236de3f
Take advantage of PHP 5.4+ short echo ( #2585 )
...
* Take advantage of PHP 5.4+ short echo
https://php.net/migration54.new-features thanks to
https://github.com/FreshRSS/FreshRSS/pull/2495
Use `<?= ?>` instead of `<?php echo; ?>`
10kB of code saved :-)
Done with regular expression:
```
<\?php echo (.+?);? *\?>
<?= \1 ?>
```
* Try Travis fix
https://github.com/squizlabs/PHP_CodeSniffer/issues/2045#issuecomment-395238272
5 years ago
Alexandre Alapetite
ad19b6bf2e
Fix wrong mark-as-read maxId argument ( #2431 )
...
Fix https://github.com/FreshRSS/FreshRSS/issues/2429
5 years ago
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
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
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
Alexis Degrugillier
951eb708e6
Fix shortcuts for view switching
...
I've introduced shortcuts to switch between view in #1755 . They have been broken by #1714 .
Then I've made an ugly fix in #1758 .
This change revert all changes to have something better.
See #1757
7 years ago
Kevin Papst
047fa17aeb
fixed css classes for reading mode buttons #1714
7 years ago
Alexandre Alapetite
97d4250bd3
Minor syntax
7 years ago
Kevin Papst
1b7cc49d22
refactored ReadingModes to Model
7 years ago
Kevin Papst
84c78098d2
added new extension hook
...
using hook for reading modes in navigation
7 years ago
Alexis Degrugillier
ac60e35f6a
Improve translation tools
...
I was not happy with the previous version. I refactored everything to make it reusable.
It allows me do do more verifications and to build a tool to handle the files themselves.
7 years ago
Alexandre Alapetite
0ce43be9de
Multi-user token
...
https://github.com/FreshRSS/FreshRSS/issues/1390
https://github.com/FreshRSS/FreshRSS/issues/366
8 years ago
Alexandre Alapetite
00f446d155
Disable "mark all as read" before confirmation script is loaded
...
https://github.com/FreshRSS/FreshRSS/issues/1342
8 years ago
Alexandre Alapetite
2a5aa34ad2
Better control of number of entries per page or RSS feed
...
https://github.com/FreshRSS/FreshRSS/issues/1249
* Since X hours: `https://freshrss.example/i/?a=rss&hours=3 `
* Explicit number: `https://freshrss.example/i/?a=rss&nb=10 `
* Limited by `min_posts_per_rss` and `max_posts_per_rss` in user config
8 years ago
Alexandre Alapetite
8a776f1461
Prevent a target _blank attacks with window.opener
...
https://mathiasbynens.github.io/rel-noopener/
noopener is implied by noreferrer
https://html.spec.whatwg.org/multipage/semantics.html#link-type-noreferrer
The API for window.open() does not seem stable yet
https://bugzilla.mozilla.org/show_bug.cgi?id=1267339
8 years ago
Alexandre Alapetite
32c734ef62
SQL mark search as read
...
https://github.com/FreshRSS/FreshRSS/issues/608
8 years ago
Alexandre Alapetite
a0230ad70b
Minor HTML fixes
...
Fix aria bug. Move some content before the flush. XHTML syntax.
8 years ago
Alexandre Alapetite
e6fd34bdda
CSRF token, update HTTP Referrer policy to same-origin
...
https://www.w3.org/TR/referrer-policy/#referrer-policy-no-referrer
https://github.com/FreshRSS/FreshRSS/issues/570
https://github.com/FreshRSS/FreshRSS/issues/955
https://github.com/FreshRSS/FreshRSS/issues/1198
https://github.com/FreshRSS/FreshRSS/issues/565
https://github.com/FreshRSS/FreshRSS/issues/554
8 years ago
Alexandre Alapetite
93f7f84987
Restaure compatibility with Internet Explorer 11 / Edge
...
https://github.com/FreshRSS/FreshRSS/issues/772
8 years ago
Alexandre Alapetite
cb913a3a76
CSP for statistics and forms
...
https://github.com/FreshRSS/FreshRSS/issues/1075
9 years ago
Alexandre Alapetite
211569ef85
Minz: missing URL key/param encoding
...
Caused searches such as "intitle:&" to fail after paging, and
possible XSS vulnerabilities.
Discovered during https://github.com/FreshRSS/FreshRSS/issues/754
10 years ago
Marien Fressinaud
5f9672111f
Fix last calls to Minz_Configuration methods
...
- We have still to fix actualize_script and greader api (refactoring?)
- We have to fix the FreshRSS_Configuration calls
- We have to fix availableLanguages calls
See https://github.com/FreshRSS/FreshRSS/issues/730
10 years ago
Marien Fressinaud
7cca47d1ab
Change name of user configuration var in Context
...
- FreshRSS_Context::$conf is replaced by FreshRSS_Context::$user_conf
- Introduce FreshRSS_Context::$system_conf
- Remove FreshRSS_Configuration object
See https://github.com/FreshRSS/FreshRSS/issues/730
10 years ago
Marien Fressinaud
cad4259e62
Fix i18n for subscription pages
10 years ago
Marien Fressinaud
89d0f98faf
Fix i18n for nav menu
10 years ago
Alexis Degrugillier
4c4604120e
Fix view title
10 years ago
Marien Fressinaud
bd5757fff8
Inverse reader and global buttons in nav_menu
10 years ago
Marien Fressinaud
0d6993fe08
Reader view comes back!
...
See https://github.com/marienfressinaud/FreshRSS/issues/634
10 years ago
Marien Fressinaud
8769931a68
Rename aside_flux in aside_feed.
10 years ago
Marien Fressinaud
1fe5ed5d21
nextGet and idMax are coming back.
...
See https://github.com/marienfressinaud/FreshRSS/issues/634
10 years ago
Marien Fressinaud
80cffa6de5
Views are in dedicated actions + improve Context
...
- Seperate normal, global and rss outputs in dedicated actions (NOT WORKING YET!)
- Rewrite aside_flux and nav_menu to use Context object
- Improve Context object
See https://github.com/marienfressinaud/FreshRSS/issues/634
10 years ago
Marien Fressinaud
8a7bab3a55
Refactoring of indexController
...
Global view has been moved to a different action (all is not working)
See https://github.com/marienfressinaud/FreshRSS/issues/634
and https://github.com/marienfressinaud/FreshRSS/issues/655
10 years ago
Marien Fressinaud
1a22a87fb1
Use FreshRSS_Context::$conf only
...
- Replace $this->view->conf in controllers
- Replace $this->conf in views
10 years ago
Marien Fressinaud
79aa5beaf4
Refactor authentication system.
...
Big work, not finished. A lot of features have been removed.
See https://github.com/marienfressinaud/FreshRSS/issues/655
10 years ago
Marien Fressinaud
a12d90d85d
Fix favorite cat doesn't change state button
...
Fix https://github.com/marienfressinaud/FreshRSS/issues/632
10 years ago
Marien Fressinaud
e6a25f78f5
Fix bug mark as read a complete feed
...
Related to https://github.com/marienfressinaud/FreshRSS/issues/599
Fix https://github.com/marienfressinaud/FreshRSS/issues/633
10 years ago
Marien Fressinaud
ae4ecd8e09
Coding style (user queries)
10 years ago
Marien Fressinaud
d30acf4e00
Fix a bug for mark as read before 1 day/week
...
Current output was not remembered.
10 years ago
Marien Fressinaud
c6dbe9def8
Use buttons instead of links for "mark as read"
...
See https://github.com/marienfressinaud/FreshRSS/issues/599
10 years ago
Marien Fressinaud
5d9479a4ac
Add confirmation for "mark as read" in dropdown
10 years ago
Marien Fressinaud
595b0316ab
Coding style nav_menu.phtml
10 years ago
plopoyop
40d176cc24
add css class or id to elements without
10 years ago
Alexis Degrugillier
7b17c60bb1
Add shortcuts
...
Add a shortcut to open the wiki. Shortcut is F1 and is not modifiable.
Add a shortcut to access user filters the same way to access share actions.
10 years ago
Alexandre Alapetite
50075bfbdc
Improvement for ASC order
...
https://github.com/marienfressinaud/FreshRSS/issues/495
10 years ago
Marien Fressinaud
c81be3c20a
Fix problem token
...
Token was present in RSS url even without token value.
10 years ago
Alexis Degrugillier
21d8c03ac9
Add a configuration parameter
...
Add a parameter to choose wether or not the user want to display a confirmation dialog when clicking on "mark all as read" actions.
10 years ago
Alexis Degrugillier
92f1d6d658
Add confirmation on button as well
10 years ago