Commit Graph
869 Commits
Author SHA1 Message Date
maTh 5050b20cca Fix: search in mobile view (#4025)
* bring back the search in the nav bar

* fix the search input height

* line-heigt improved
2021-12-05 21:36:16 +01:00
Frans de JongeandFrans de Jonge ba48733f17 Add preventDefault to keydown event handler (#4013)
* Add preventDefault to keydown event handler

Fixes #3946.

* review

* silence technically correct but missing the picture check

Co-authored-by: Frans de Jonge <frans@clevercast.com>
2021-12-03 00:58:40 +01:00
Alexandre Alapetite 00dbde68fb Fix some PHPstan errors (#4019)
Fix some wrong variables found by https://github.com/FreshRSS/FreshRSS/issues/4016
2021-12-02 23:30:13 +01:00
maTh f6db32bdfb delete overflow-y (#4005) 2021-11-30 22:28:55 +01:00
maTh 42162c04a0 Fix #4002: transparent config menu (#4003)
* Update template.css

* Update template.rtl.css
2021-11-29 19:59:13 +01:00
maTh 83110b1c49 typo fix (#3998) 2021-11-27 12:23:52 +01:00
maThandAlexandre Alapetite a5410f6d37 Fix issue with mark-all-as-read-button in anonym. mode (#3944)
* fix

* Update p/scripts/main.js

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2021-11-15 22:03:26 +01:00
maThandAlexandre Alapetite f12637d2b2 Fix js errors (#3980)
* fixed missed popup

* fix missed document.getElementById('loginButton')

* make fix-all

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2021-11-14 23:24:47 +01:00
maThandAlexandre Alapetite 1ae5a5af14 Improve mobile view: access to the config menu (#3881)
* wip

* improve the header

* Fix theme "Adark"

* fixed theme: Ansum

* Fixed theme: BlueLagoon

* fixed Ansum after PR comment of Frenzie

* Fixed theme: Dark

* fixed theme: Flat

* fixed theme: Mapco

* fixed theme: Origine compact

* fixed theme: Pafat

* fixed theme: Screwdriver

* fixed theme: Swage

* hide the close button in wide view

* fixed base/template RTL

* fixed SCSS of theme Swage

* stylelint fix

* fixed theme Swage

* make fix-all

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2021-11-12 08:57:36 +01:00
maTh 079b7b961f Improve install routine: database password input with "show password" button (#3962)
* wip

* CSS better btn

* CSS: RTL

* button is better than a

* improved CSS for button
2021-11-11 20:01:28 +01:00
maThandAlexandre Alapetite 387343a0e1 fixed: Shortcuts in "Anonym. Mode" broken (#3897) (#3945)
* fix

* improved delayClick()

* Do not send empty mark as read request

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2021-11-04 22:22:39 +01:00
maTh 530aa0bb3a fix main.js (#3956) 2021-11-02 23:45:38 +01:00
maTh 9326e419e3 fix typo (#3949) 2021-10-30 18:45:05 +02:00
d3be01a1da Add pwa (#3890)
* Don't use Chrome or indeed Firefox on Android

Would close #1963. But I will not finish this PR because the idea that every single website on the internet should have to do this is absolutely ridiculous.

* add pwa manifest

Add a pwa manifest as defined in https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Installable_PWAs
- creates shortcuts without the browser frame
- has a splash screen
- has an independent view stack than the browser one

* update manifest as per pwabuilder.com

* add 32x32 and 48x48 icon config

* enhance manifest spec compliance

* change as per suggestions

* Update app/layout/layout.phtml

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>

* fix mobile icon padding

* remove screen auto rotation

* change theme color to white

* Move meta
(Should not be in the referrer condition)

* JSON HTTP cache

Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2021-10-24 17:28:40 +02:00
maTh da4f0dea1f add button to open nav panel (#3879) 2021-10-23 13:53:22 +02:00
Alexandre Alapetite acbba9adb2 Improved markdownlint (#3918)
* Improved markdownlint
* Relaxed rules slighlty
* `npm run markdownlint` for automatic tests
* `npm run markdownlint_fix` for automatic syntax fixing
* Applied the fixes on all our Markdown files
2021-10-23 13:43:24 +02:00
maThandAlexandre Alapetite c5cfb2ac07 fixed: add feed: advanced: white space char as default password (#3814)
* fixed space char as default password

* fix: whitespace in feed http username configuration

* fix: type=password

* extend the type=password with the watch-password-plain button

* init_extra() again for new slider content

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2021-10-21 12:47:50 +02:00
Alexandre Alapetite 008cbfef2c Fix global context (#3909)
Regression from https://github.com/FreshRSS/FreshRSS/pull/3906
2021-10-21 12:47:31 +02:00
Alexandre Alapetite b438d8bb3d ESLint upgrade from JSHint (#3906)
* ESLint upgrade from JSHint
* commit corresponding package.json
* `npm run fix` for automatic JS and CSS fixes
* Keep JSHint config for now
2021-10-21 11:44:03 +02:00
maThandAlexandre Alapetite cfd625c559 close panel with esc shortcut (#3901)
* ESC as shortcut to close

* some little beauty

* only ESC close the list now

* Update template.rtl.css

* fixed onclick listener

* Update global_view.js

* heebie jeebies fix ;-)

* Update p/scripts/global_view.js

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2021-10-21 11:33:35 +02:00
maThandFrans de Jonge 3623a5421d enhancement subscription management page (#3893)
* wip

* wip2

* i18n

* Update app/views/helpers/category/update.phtml

Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>

* fixed box layout

* Revert "i18n"

This reverts commit a2e4d8ace6.

* i18n

This reverts commit 55236930cf.

Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
2021-10-19 15:08:32 +02:00
stysebaeandAlexandre Alapetite 85b898c623 Add shortcut to jump to next unread article (issue #3393) (#3891)
* Add shortcut to jump to next unread article

* phpcbf

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2021-10-19 10:46:39 +02:00
Frans de Jonge 24c2c47d4b [chore] Replace direct .onkeydown override with addEventListener (#3902)
Removes inextensible bad example to prevent it from being copied. See <https://github.com/FreshRSS/FreshRSS/pull/3901/files#r731292613>.
2021-10-19 10:05:30 +02:00
maTh f934eb981e fix (#3888) 2021-10-16 13:14:18 +02:00
maThandAlexandre Alapetite 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
Alexandre Alapetite ebf9c70ebd Automatic fix minor syntax previous commits 2021-10-14 13:59:31 +02:00
maTh 7f1e8ff507 fix #3652 "about" link in "reading view" (#3877)
* fix
* improve nav slider width in mobile view
2021-10-14 13:30:48 +02:00
maTh 93e73855ec Delete jQuery (#3847)
* delete jquery.min.js lib
2021-09-13 08:02:09 +02:00
maThandAlexandre Alapetite 8b80c4cc8f Settings: User queries - layout upgrade (#3827)
* draft

* deleted the out commeted code

* improved alert messages

* Update queries.phtml

* Theme base-theme/template.css

* fixed theme: Origin

* Fixed: Theme Adark

* Fixed: Theme Ansum

* Fix: Theme BlueLagoon

* Fix: Theme Dark

* Fix: Theme Flat

* Fix: Theme Mapco

* Fix: Theme Mapco (SCSS)

* Fix: Theme Origine-compact

* Fix: Theme Pafat

* Fix: Theme Screwdriver

* Fix: Theme Swage

* Lint CSS, RTL, and i18n

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2021-09-12 12:06:29 +02:00
maThandAlexandre Alapetite 9712e4d888 Headline structure improvement (#3830)
* header: h1 deleted - full logo included

* template: config - display

* WIP

* shortcut configs. added fieldset. do not display the border by default

* system.phtml

* subscription: add feed or category

* wip

* wip

* Update bookmarklet.phtml

* Update archiving.phtml

* Update queries.phtml

* Update profile.phtml

* Update manage.phtml

* auth+update

* Update template.rtl.css

* fixed FreshRSS logo (Theme: Mapco)

* Update mapco.rtl.css

* Update _layout.scss

* fixed FreshRSS logo (theme: Dark)

* fix: FreshRSS logo (Theme: BlueLagoon)

* fix: FreshRSS logo (Theme: Ansum)

* fixed: FreshRSS logo (Theme: Alternative Dark)

* fix: FreshRSS logo (Theme: Pafat)

* fix: FreshRSS logo (Theme: Screwdriver)

* fix: FreshRSS logo (theme: Swage)

* Minor lint

* little fix: FreshRSS logo (Theme: Origine)

* Fix: FreshRSS logo (Theme: Origine Compact)

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2021-09-11 18:22:26 +02:00
maThandAlexandre Alapetite c80e081bb0 fixed: margin around <figure> (#3832)
* fix CSS

* Minor whitespace

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2021-09-08 21:09:39 +02:00
maThandAlexandre Alapetite c263956397 Remove: Show cog wheel icon on hover in the settings (#3831)
* Theme: Alternative-Dark

* Theme: Ansum

* Theme: base

* Theme: BlueLagoon

* Theme: Dark

* Theme: Flat

* Theme: Mapco

* Theme: Origine-compact

* Theme: Origine

* Theme: Pafat

* Theme: Scewdriver

* Theme: Swage

* Minor whitespace

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2021-09-08 08:48:10 +02:00
maTh acb4d24bda fix (#3824) 2021-09-05 21:27:58 +02:00
maTh d3eae669d2 fix: Theme slider on small screens (#3818)
* fix

* changed from % to px
2021-09-05 21:25:35 +02:00
Alexandre Alapetite 68dc18a7aa Automatic fix rtlcss
From https://github.com/FreshRSS/FreshRSS/pull/3817
2021-09-03 08:40:02 +02:00
maTh 9aed5ef48f Fixed: overflowing tables on small screens (#3819)
* fix

* overflow-x

* a better fix, that fix all tables

* Revert "a better fix, that fix all tables"

This reverts commit 3bc9447347.

* user list table with wrapper

* scrolling table: extension table
2021-09-03 08:35:44 +02:00
maTh b563e4badb Improved <kbd> line break (#3817)
* fix CSS

* improved
2021-09-02 09:16:26 +02:00
ORelioandAlexandre Alapetite 50ba6bbe07 UI: Add optional thumbnail and summary on feed items (#3805)
* UI: Add optional thumbnail and summary on feed items

Implements #561

* UI: Thumbnail: Own column, Custom size, Lazy load

* UI: Thumbnail: Remove unnecessary CSS rule

Remove rule already defined in base theme, no override needed

* CSS lint + RTL

* Improve thumbail and summary generation

* Support img alt

* Missing htmlspecialchars

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2021-08-30 10:58:06 +02:00
Alexandre Alapetite dfe90cba86 Run CSS validation manually 2021-08-29 20:59:02 +02:00
Poorchop 2b27f4500e Darken bright elements in Alternative Dark theme (#3806)
- Table headers and box titles on the subscription management page use bright white backgrounds. This modifies these elements to use a dark background in order to be consistent with the rest of the theme.
- This also modifies tables to have dark borders.
2021-08-29 15:07:18 +02:00
PoorchopandPoorchop 9347a5a2eb Add RTLCSS rules for changes introduced in #3774 (#3807)
- This also deletes a redundant CSS background rule.

Co-authored-by: Poorchop <>
2021-08-29 15:06:36 +02:00
Frans de Jonge 9178fd30c2 Statistics: update Flotr2 to latest release from EnterpriseDB (#3800)
It contains a few minor fixes for Google's breaking changes in Blink.

See <https://github.com/EnterpriseDB/Flotr2> for the repo.

Cf. <https://github.com/FreshRSS/FreshRSS/pull/3799#issuecomment-905370969>
2021-08-28 21:33:35 +02:00
maTh b83f0887cc improved origine.css (#3795) 2021-08-28 21:29:15 +02:00
Frans de Jonge 6304c56b60 Statistics: dynamically resize (#3799)
* Statistics: dynamically resize

Follow-up on <https://github.com/FreshRSS/FreshRSS/pull/3797>.

* also do 'repartiton'
2021-08-25 15:52:28 +02:00
maTh 7d193bc725 Update key.svg (#3802) 2021-08-25 15:51:01 +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 235f16647a Settings: Display - icons table in mobile view fixed (#3792)
* fixed all themes

* fixed swage.scss
2021-08-22 23:01:37 +02:00
Poorchop abe559c88c Modify bright elements in adark.css mobile view (#3774)
Elements with bright backgrounds in mobile view now have a dark background.
2021-08-20 14:11:02 +02:00
maTh 15358f9d4b New article text banner: fix line-height (#3731)
* fix line-height

* fix the order of css rules
2021-08-04 12:15:46 +02:00
maTh 3d12c2809f fix the height of select (#3727)
* fix the height of select

* better fix
2021-08-04 12:12:54 +02:00