Commit Graph

1388 Commits

Author SHA1 Message Date
maTh
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
ORelio
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
Poorchop
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
maTh
8dc9fde24d Install routine freshup (#3721)
* navigation: disable next steps

* change icon to full icon (incl. text)

* navigation is a ordered list

* set mouse title on each navigation item

* navigation: next steps in grey italc
2021-08-04 11:38:54 +02:00
maTh
c1eb260f44 better contrast (#3725) 2021-07-26 23:29:43 +02:00
maTh
991ee64db2 3672 notification icon (#3678)
* icon with padding to border

* resized icon to 256
2021-06-28 21:10:12 +02:00
Alexis Degrugillier
d6a0af6ba0 Fix navigation JS error (#3655)
Before, the UP navigation button was generating an error when no article was
selected. The process to navigate to the first element was using the position
of the current element to compute the offset, thus generating said error.
Now, if no article is selected, the first article is used as a fall-back.

See #3654
2021-06-01 09:36:26 +02:00
Alexandre Alapetite
97ba6261a8 git update auto change to edge branch (#3589)
* git update auto change to edge branch
For existing installations using automatic git update, checkout *edge* branch if it was still using *master* or *dev*.

* One more prune

* Fix several small issues

* theirs does not work here

* Use migration mechanism

* Better handling of Migration errors

* Test details

* Fix tests

* Do not use new migration system for now
2021-05-15 21:33:43 +02:00
berumuron
cc6c529562 tec: Remove data/do-install.txt (#3555)
* Remove file data/do-install.txt

This file was painful during update because we had to remember to delete
it each time. It added a security issue by allowing an attacker to
reinstall FreshRSS during the update process.

The (more powerful) file data/applied_migrations.txt has been introduced
in 8619cf6fa to replace do-install.txt. We had to wait for at least one
release in order to make sure existing instances of FreshRSS created the
migration file. It should be ok now.

* Replace i18n install.not_deleted key

* Update documentation to update FreshRSS
2021-03-26 19:41:33 +01:00
Alexandre Alapetite
06fa514483 Compatibility ORIG_PATH_INFO (#3560)
#fix https://github.com/FreshRSS/FreshRSS/issues/3542
2021-03-24 18:39:26 +01:00
berumuron
2c4f169f0a Hide advanced options in new feed form (#3516)
* Hide new feed advanced options in a details tag

The form was huge and hard to process for beginners. Most of the fields
are optional 99% of time, there is no need to have them so proeminently.

* Remove sub.feed.auth.configuration i18n key

* Sync RTL css files

* Fix stylelint

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

* Fix "for" attributes in add feed form

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

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2021-03-13 18:55:43 +01:00
Alexandre Alapetite
51ed59dcc6 jQuery 3.6.0 (#3501)
https://blog.jquery.com/2021/03/02/jquery-3-6-0-released/
2021-03-07 12:54:17 +01: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
Myuki
7b4c544579 Optimize some themes for mobile view (#3491)
* Optimize some themes for mobile view

* Fix syntax
2021-02-28 12:12:26 +01:00
Myuki
064288ed62 Optimize theme Pafat for the mobile view (#3480)
* Optimize theme Pafat for mobile view

* Change min-width in @media

* Better backward compatibility

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

* Better backward compatibility

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

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2021-02-27 12:16:29 +01:00
Alexis Degrugillier
a127f7dae3 Display dropdown menu in BlueLagoon and Screwdriver themes (#3485)
See #3447
2021-02-26 23:19:04 +01:00
Alexis Degrugillier
0ce798d40b Add support for extension user files (#3433)
Extension user files can be stored easily in the user folder instead of the static folder.
2021-02-26 18:42:10 +01:00
Alexandre Alapetite
4a87f34bcf API implement OPML import/export (#3424)
#fix https://github.com/FreshRSS/FreshRSS/issues/3421
2021-02-06 12:43:30 +01:00
Martin
934f032c19 Better error message on failure (#3407)
* bump default logout from 30 to 365 days

* * Change cookie duration to constant
* Change cookie duration to three months

* use class

* use 90 days (otherwise login form says 91.3 days)

* change class

* also this works now

* Better error message

* inconsistent dot with the other message

* Better error message

* add errorMessage()

* fix style

* html escape the error title

* also html escape error message

* remove spaces before parentheses

* rework the error message

* Minz-friendly

* Update message

Do not advise running this script as wrong user

* Update lib/lib_rss.php

Co-authored-by: Martin <spleefer90@gmail.com>

Co-authored-by: Martin Rys <martin@rys.pw>
Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2021-02-05 21:59:21 +01:00
Alexis Degrugillier
d7cfea155f Fix extension file search (#3413)
Before, it was possible to retrieve only the files from extensions. Thus
making core extension files unreachable.
Now, the selected file is search through all extensions folders.
2021-02-02 14:27:34 +01:00
Alexis Degrugillier
bed710b260 Refactor extension file script (#3399) 2021-02-02 00:00:51 +01:00
Alexandre Alapetite
d061e63fa5 GReader API add canonical information (#3391)
For fluent-reader
#fix https://github.com/FreshRSS/FreshRSS/issues/3389
Better compatibility InoReader
https://www.inoreader.com/developers/stream-contents
2021-01-22 21:56:54 +01:00
Alexis Degrugillier
5c18c64afb Change integration configuration page (#3372)
I've refactored the user query code to be able to use it also on the
integration configuration page. Now, items can be re-organized as in
the user query list.
2021-01-16 22:11:30 +01:00
Alexis Degrugillier
c5da4e56a6 Add a query configuration page (#3366)
* Add a query configuration page

Before, there was no way to modify a user query. Thus you need to
create a new one and delete the old one afterward.
Now, every user query can be modified if needed. They have their
own configuration page on which it can be modified or deleted.

* Change drag and drop action on queries

Before, the drag and drop action needed to be validated by submitting
the form to be persisted.
Now, it's done automatically after the query is dropped to its final
location.
2021-01-15 00:14:53 +01:00
Alexis Degrugillier
e3457f7d7b Add drag & drop marker on user query list (#3355)
Before, it was nearly impossible to know exactly where the dragged
item will land when dropping it.
Now, there is a visual marker to show the drop location.

An HR tag is inserted dynamically in the DOM. It's possible to style
it if needed.
2021-01-13 20:34:45 +01:00
Alexis Degrugillier
fd82587756 Add filters on images and video (#3356)
As this theme is a dark theme, I figured that it would be better
to filter images and videos to ease reading when bright elements
are included.
2021-01-11 22:36:06 +01:00
Alexis Degrugillier
896f9d3363 Add user query manual sorting (#3346)
* Add user query manual sorting

Before, to change the user query order, you'll have to delete them
and recreate them. It was not really efficient.
Now, you can drag and drop them to ease reordering.

See #2216 and #2015

* Remove cancel action on user query configuration

Before, the cancel action was useless since it was not wired.
Now, there is no cancel action.

See #2015
2021-01-09 01:47:20 +01:00
Clemens Neubauer
ef458992c1 two new hooks (#3342)
* add two new hooks

I develop a new extension and i need 2 new hooks for it

* update EN documentation

* Correct typing errors

* Update app/views/helpers/javascript_vars.phtml

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2021-01-07 21:45:48 +01:00
Alexis Degrugillier
46c8f6e77b Add clipboard sharing (#3330)
When the discussion #3327 started, I thought that the clipboard share
is a good idea. It never occurred to me because I do not use a
smartphone.
It might need some polishing but it seems pretty usable as-is.

See #3327
2021-01-03 18:20:15 +01:00
Alexandre Alapetite
0567e38947 API more BazQux compatibility (#3320)
Implement compatibility fix, to allow the streamID / inclusion criteria
to be given as `&s=` parameter instead of in the URL path.
https://github.com/bazqux/bazqux-api#fetching-streams
This form of request is apparently sometimes used by FeedMe:

```

/api/greader.php/reader/api/0/stream/contents?output=json&n=100&xt=user%2F-%2Fstate%2Fcom.google%2Fread&ot=0&s=user%2F-%2Flabel%2FBlogs
```
2021-01-03 18:13:11 +01:00
Alexandre Alapetite
635748342c Fix init system (#3328)
#fix https://github.com/FreshRSS/FreshRSS/issues/3323
System would crash when no `FRESHRSS_ENV` environment was set, due to

31cb07ac1a/lib/Minz/FrontController.php (L116-L119)
2021-01-03 12:57:42 +01:00
Alexandre Alapetite
9c6682e7ed Avoid manual initialisations of system or user configuration (#3070)
* Avoid manual intialisations of system or user configuration

More consistent use of Context

* Simplify FreshRSS_Context::initUser

* Remove a few manual get_user_configuration

* A bit of debugging

* Fix context user init

* Fix install

* Fix concurrency

Concurrent requests could lead to bad race condition

* Fix actualize cron

Fix case when system i initialised several times
2021-01-02 21:20:19 +01:00
Alexandre Alapetite
5ca961b8d5 Fix bugs in anomymous mode (#3305)
* Fix bugs in anomymous mode

Login bug (submit button not working) and refresh bug (JS null
exception, and then 403).

* Take advantage of existing variable
2020-12-31 00:13:29 +01:00
Alexandre Alapetite
48e0464e4b Prevent login before extra.js is loaded (#3275)
Disable submit button until extra.js with its crypto functions is
loaded.
2020-12-22 17:36:50 +01:00