Inverle
d55f017ccd
Implement button for toggling sidebar on all views ( #8201 )
...
* Implement button for toggling sidebar on all views
Closes https://github.com/FreshRSS/FreshRSS/issues/7673 , https://github.com/FreshRSS/FreshRSS/issues/7100 , https://github.com/FreshRSS/FreshRSS/issues/6119 , https://github.com/FreshRSS/FreshRSS/issues/5338 , https://github.com/FreshRSS/FreshRSS/issues/2792 , https://github.com/FreshRSS/FreshRSS/issues/4224 , https://github.com/FreshRSS/FreshRSS/issues/4136
https://github.com/user-attachments/assets/0629e465-6450-440e-b38b-430e9ff73ef9
Keyboard shortcut for doing the same: <kbd>t</kbd>
* Partially fix other views
Repartition page looks broken on Swage
* Correction
`close-aside` wasn't meant to be removed
* i18n(conf): fr
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr >
* make fix-all
* Fix settings slider not opening in reader view
* make readme
---------
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr >
2025-12-04 08:48:03 +01:00
Alexandre Alapetite
8bd9bd95d8
Minor update syntax echo ( #7941 )
...
* Minor update syntax echo
Follow-up of https://github.com/FreshRSS/FreshRSS/pull/7939
* Fix layout
Whitespace optimisation needed to avoid style glitch
2025-09-11 21:19:31 +02:00
maTh
afb6f788fa
Improve stats page layout ( #7243 )
...
* New stats box layout
* repartition: table overview improved with links and icons
* Show selected feed name in title
* i18n string: overview
* fix
* fix
* fix
* delete unused stat in frss
* Update app/i18n/fr/admin.php
---------
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr >
2025-01-21 23:45:22 +01:00
maTh
27c2e2490a
templates and i18n: link back to rss feeds ( #7162 )
2024-12-29 23:45:50 +01:00
Luc SANCHEZ
15745d42b7
Upgrade code to php 8.1 ( #6748 )
...
* revert
Fix code indentation
Fix code
Upgrade code to php 8.1
* fix remarques
* code review
* code review
* code review
* Apply suggestions from code review
* code review
* Fixes
* Many remainging updates of array syntax
* Lost case 'reading-list'
* Uneeded PHPDoc
---------
Co-authored-by: Luc Sanchez <l.sanchez-prestataire@alptis.fr >
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr >
2024-11-28 17:11:04 +01:00
Alexandre Alapetite
dfac9f5813
PHPStan booleansInConditions ( #6793 )
...
* PHPStan booleansInConditions
* Uniformisation
2024-09-11 17:14:53 +02:00
Luc SANCHEZ
30c7a61a9b
Use strict_types ( #5830 )
...
* Little's optimisations and booleans in conditions
* Apply strict type
* Apply strict type
* Apply strict type
* Fix multiple bugs with PHP 8.2 and 8.3
* Many declares missing, more errors fixed
* Apply strict type
* Another approach
* Stronger typing for Minz_Session
* Fix case of SQLite
---------
Co-authored-by: Luc <sanchezluc+freshrss@gmail.com >
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr >
2023-11-16 22:43:00 +01:00
maTh
baab354ca2
Improve table scrolling ( #5774 )
...
* class table-wrapper added
* class scrolbar-thin added
---------
Co-authored-by: math-gh <>
2023-10-29 20:49:33 +01:00
Alexandre Alapetite
fe7d9bbcd6
Typed view model classes ( #5380 )
...
* Typed view model classes
* Add ability to provide a typed view model class to a controller
* Use `::class` instead of string for referring to classes
* Examplified with `stats` and `javascript` controllers / views (more to do)
* Also useful for extensions (my usecase today), which did not have the ability to define own view model attributes before.
* Typo
2023-05-11 12:53:32 +02:00
Alexandre Alapetite
c72914bba2
PHPStan Level 7 for more DAO PDO ( #5328 )
...
* PHPStan Level 7 for more DAO PDO
With new function to address common type and check problems
* A bit more
* PHPStan Level 7 for FreshRSS_Entry
2023-04-28 14:01:11 +02:00
Alwaysin
cb1c2da8e6
Correct manage link on stats page ( #4768 )
...
Wasn't working before
2022-10-24 01:26:19 +02:00
Alexandre Alapetite
77e9877316
Add PHPStan ( #4021 )
...
* Add PHPStan
#fix https://github.com/FreshRSS/FreshRSS/issues/4016
https://phpstan.org/
```sh
composer run-script phpstan
```
* More fixes
* Fix global variables
* Add .phtml
* Fix merge
https://github.com/FreshRSS/FreshRSS/pull/4090
* Fix more warnings
* Fix view errors and enable in CI
* ReturnTypeWillChange
* Dynamic view type
* Fix Minz static/self bug
2021-12-31 17:00:51 +01:00
maTh
a54aa19dc7
Fix: double main tags ( #4014 )
...
* replace div with main
* include the slider into main
* format source
* add close icon for the extension slider
* replace div with main
* Update shortcut.phtml
* fixed the nits
2021-12-03 00:57:32 +01:00
maTh
02641de32e
Stats: replace flotr2 with chart.js ( #3858 )
...
* include Chart.js
* page: main statistics. Flotr.js replaced with Chart.js
* main stats + repartition
* Delete: repartition.js + stats.js
* delete flotr2
* add libs in README
* polish
* code polish
* fixed amount of week days and months
* added manget link for LibreJS
* added: @license-end
* phpcbf + jshint formatting
* delete old code
* fix stats
* fix Comments
* finally I found the issue and fixed its best
* fix the month stats
* Whitespace fixes
* Remove flotr2
* Rename to chart.min.js
* Remove console.log
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr >
2021-10-16 12:00:07 +02:00
maTh
e5e9a417da
Menu: move stats into subscription management ( #3803 )
...
* add stats menu into subscription management menu
* delete stats menu entry from dropdown menu
* Delete aside_stats.phtml
* Update aside_subscription.phtml
2021-09-12 11:50:00 +02:00
maTh
6c396997f2
Statistics: improved layout ( #3797 )
...
* css grid layout
* Update repartition.phtml
* scrolling the canvas if it does not fit
2021-08-25 11:52:40 +02:00
maTh
f1e15cdd82
Improve the link "back to RSS feeds": set a CSS class ( #3761 )
...
* templates
* improved CSS class names
2021-08-20 14:07:14 +02:00
Alexandre Alapetite
947e918f05
Travis: Enforce phpcs line length + whitespace ( #3488 )
...
* Update Travis line length
* Also check whitespace in CSS files
* Fix line length ext.php
* More syntax, string templates
* Fix exclude-pattern
* Test JS files as well
2021-02-28 12:26:24 +01:00
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
2019-10-23 11:18:20 +02:00
Alexandre Alapetite
a66b995be7
Explicit quotes decoding ( #1947 )
...
* Explicit quotes decoding
* Explicit htmlspecialchars_decode and htmlspecialchars
2018-06-22 16:07:48 +02:00
Alexandre Alapetite
bee833bf52
Problematic MySQL reserved keyword
...
`read` and `reads` are reserved keywords
2016-08-07 00:54:49 +02:00
Alexandre Alapetite
cb913a3a76
CSP for statistics and forms
...
https://github.com/FreshRSS/FreshRSS/issues/1075
2016-02-21 19:15:23 +01:00
Alexandre Alapetite
264d05297c
CSP for statistics
...
https://github.com/FreshRSS/FreshRSS/issues/1075
2016-02-21 17:26:37 +01:00
Marien Fressinaud
f43b273706
Update i18n for statistics
2014-12-11 16:10:39 +01:00
Alexis Degrugillier
c4f6709a29
Small format fix
2014-11-08 10:04:43 -05:00
Alexis Degrugillier
38cf7a109e
Add more info in article repartition page
...
I added the same information than on the main stat page (total, read, unread and favorite) on the repartition page. Some refactoring was needed.
2014-11-08 09:26:01 -05:00
Marien Fressinaud
2796cc9ae5
User list load a new page
...
Beginning of more options for administrator!
2014-10-17 16:24:21 +02:00
Alexis Degrugillier
eb40dbccdb
Change statistic average
...
I was using the stats and it feels that the stat average was useless in that form since the line is always at the same position no matter what is the value.
So I deleted that line and added the average in the title. It is way more useful this way.
I updated some translations both on i18n files and on http://i18n.freshrss.org
2014-10-09 21:44:44 -04:00
Marien Fressinaud
f1a5a174ea
Merge branch '646-new-cat-system' into dev
2014-10-02 09:36:32 +02:00
Marien Fressinaud
a7bf7ced36
Fix links for feed management
...
See https://github.com/marienfressinaud/FreshRSS/issues/646
2014-10-01 12:18:32 +02:00
Alexis Degrugillier
fc6a3c2fd2
Add string delimiters for averages.
...
Before, if the average was equal to 0, it was displayed on the graph but the label was not displayed.
Now, the label is displayed.
2014-09-29 18:57:40 -04:00
Marien Fressinaud
55843ff7a5
Few fixes about statistics
2014-09-19 16:45:16 +02:00
Marien Fressinaud
097703f23e
Improve stat design
2014-09-18 17:39:07 +02:00
Alexandre Alapetite
657b1ffe27
Bug HTML stats
...
Categories containing a space were not displayed properly
https://github.com/marienfressinaud/FreshRSS/issues/547
2014-09-04 20:30:15 +02:00
Alexis Degrugillier
f002dbe4ce
Add average on repartition charts.
...
It needs some verification on the value used to calculate the averages.
2014-09-01 20:58:05 -04:00
Alexis Degrugillier
4509aac438
Change empty value in drop-down
2014-08-23 11:43:39 -04:00
Alexandre Alapetite
ea99ac1259
Syntax 581
...
#581
2014-08-19 21:55:49 +02:00
Alexis Degrugillier
393fce3e8a
Add a feed selector in repartition statistics.
...
Before we could choose the feed in the statistics only from the feed options in the main view. Now with the new drop-down list, it is possible to choose it from the statistics page.
The rendering needs to be polished to be nicer.
2014-08-19 08:55:44 -04:00
Alexis Degrugillier
1739e2e9d2
Remove unnecessary title property
2014-07-28 17:59:20 -04:00
Alexis Degrugillier
2739817cfb
Small fixes to follow @marienfressinaud recommandations (take 2)
2014-07-28 17:46:03 -04:00
Alexis Degrugillier
84dcd25d89
Small fixes to follow @marienfressinaud recommandations
2014-07-25 06:36:43 -04:00
Alexis Degrugillier
d049c1bc80
Add article repartition in stats
...
Add article repartition per hour, per day of week, per month for all feeds but also for individual feeds.
2014-07-24 21:57:59 -04:00