* Add new last_login param to default user config
* Add English translation strings for last login feature
* Update last_login when user successfully logs in.
* Add last_login column to manage users screen
* Add last_login to user details screen
* Remove accidental docker-compose.yml
* Fix whitespace
* Use last modified time for config file
* Remove last_login field from default user config
* Touch user configuration file upon succesful login
* Add translations with todos
* Fix whitespace
* Use last_user_activity
* Semi-colomn
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
* Fix bad relogging clients
Some clients (like EasyRSS) are still using the old HTTP Authorization
header after having logged to log in with another user.
We should not attempt to process Authorization headers during a login
request
* Typo
* A bit safer
Avoid null exception
* Update 04_Subscriptions.md
- ajouter un flux
- import/export
* Update 04_Subscriptions.md
* Update 04_Subscriptions.md
* Update 04_Subscriptions.md
Translated in english from https://github.com/Saimyx/FreshRSS/edit/master/docs/fr/users/04_Subscriptions.md
* Update 04_Subscriptions.md
* Update docs/en/users/04_Subscriptions.md
Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
* Update docs/en/users/04_Subscriptions.md
Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
* Update docs/en/users/04_Subscriptions.md
Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
* Update docs/en/users/04_Subscriptions.md
Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
* Update docs/en/users/04_Subscriptions.md
Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
* Update docs/en/users/04_Subscriptions.md
Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
* Update docs/en/users/04_Subscriptions.md
Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
* Update docs/en/users/04_Subscriptions.md
Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
* Update docs/en/users/04_Subscriptions.md
Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
* Update docs/en/users/04_Subscriptions.md
Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
* Update docs/en/users/04_Subscriptions.md
Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
* Update docs/en/users/04_Subscriptions.md
Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
* Update docs/fr/users/04_Subscriptions.md
Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
* Update 04_Subscriptions.md
* Update docs/en/users/04_Subscriptions.md
* Update docs/en/users/04_Subscriptions.md
Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
* Update docs/en/users/04_Subscriptions.md
Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
* Update docs/en/users/04_Subscriptions.md
Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
* Update docs/en/users/04_Subscriptions.md
Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
* Language improvements
* Language improvements
Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
#Fix https://github.com/FreshRSS/FreshRSS/issues/2956
Bug/feature introduced by https://github.com/FreshRSS/FreshRSS/pull/2947 (which was following the specification better)
The original code `strpos($e_id, '/') !== null` was wrong (it can never be null, only false or integer), but the idea was to check whether the client was sending a short form (decimal) or long form of the ID (hexadecimal with prefixes including slashes). Since it has not given problem until my recent typo fix, this means that the short form is apparently not used by the clients we tested. But now that we are back to following the specification better, it looks like a client such as Reeder 4 is sending an hexadecimal form without a prefix, which breaks the detection.
This patch changes the detection, which should work in all known cases AND comply with the specification
https://feedhq.readthedocs.io/en/latest/api/terminology.html#items
* Show subscription management button on mobile
* Show aside box-shadow on Origine only when opened
* Reduce padding of Origine posts on mobile
* Shrink stick component with long input
* Show Origine configure icons on mobile
* Show the slider full width on mobile
* Improve the look of forms on mobile
* Fix Ansum theme
* Fix BlueLagoon theme
* Fix Dark theme
* Fix Flat theme
* Fix Mapco theme
* Fix Origine-compact theme
* Fix Pafat theme
* Fix Screwdriver theme
* Fix Swage theme
* Fix Alternative-Dark theme
* Apply RTL script on themes
Co-authored-by: triatic <42704418+triatic@users.noreply.github.com>
FeedReader 2.10.0 sends something like
`T=cd3421a73e8a09f955449d02beaf9593b0c0265cZZZZZZZZZZZZZZZZZ&r=user/-/state/com.google/read&i=-/tag%3Agoogle.com&i=-/2005%3Areader/item/0005a4b97779db22`
to `/api/greader.php/reader/api/0/edit-tag`
The first `i=-/tag/google.com` is wrong and cannot be converted to an entry ID.
This resulted in:
> PHP Warning: gmp_init(): Unable to convert variable to GMP - string is not an integer in /var/www/FreshRSS/p/api/greader.php on line 35
* Fever integer type for feed ID
#Fix
https://github.com/FreshRSS/FreshRSS/issues/2940#issuecomment-623022435
* Fix feed_id
* Ensure string for entry ID
To be compatible with 32-bit platforms.
Before, the type was inconsistent depending on architecture + database
* Integer for entry count functions
There were two checkboxes with labels set on the left: it was looking
weird and inconsistent with the rest of the application.
Also, since the Websub checkbox cannot be checked by the user (i.e. it
is entirely managed by the backend), I just hide the line when Websub is
disabled. It would be better to never show the checkbox and adapt the
label to say something like "Websub is enabled for this feed", but I
prefer to avoid changing all the locales.
Last point: an input should always have one and only one label. Websub
checkbox had two labels, which can be hardly supported by assistive
technologies.
Reference: https://developer.mozilla.org/en-US/docs/Learn/Forms/How_to_structure_a_web_form#Multiple_labels
Filenames were created with the username of the current user. However,
when we export the files with the CLI, the current user is "_".
This commit makes the username always required in the `exportFile`
method so we make sure to always manipulate a real value. Consequently,
the filenames can be formatted correctly.
Obviously, this has absolutely no impacts since the CLI doesn't consider
the HTTP headers. It just makes things a bit more clear. It's a first
step to remove the concept of "default user".
Small fixes related to when WebSub changes address:
* When unsubscribing, one must use the current/old address, not the
newly found selfUrl;
* This change
https://github.com/FreshRSS/FreshRSS/pull/2659#discussion_r347263068 was
wrong, so reverted to the first version. We must obey the rules also for
feeds for which the initial WebSub enabling is not finished, otherwise
we never have a chance to redirect the feed to the proper selfUrl.
* #2671 Apache reverse proxy
Adding sample configuration for using apache as a reverse proxy
* Update Docker/README.md
Better wording
Co-Authored-By: Frans de Jonge <fransdejonge@gmail.com>
* Update Docker/README.md
Better wording
Co-Authored-By: Frans de Jonge <fransdejonge@gmail.com>
* Included suggestions and cleaned up code
I have cleaned the code with the <location> Tags so that it is more concise
* Included corrections
* Update Docker/README.md
Minor port number
Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
* - Always display help under the targeted element.
- Use same help place for HTTP authentication in 'add' feed view than in 'update' feed view.
- Move help under input field in register view, as all other places (homogeneity).
* - Don't use "!important" as suggested by @Alkarex.
* Turn off autocapitalization on the username field to improve mobile UX.
Fixes issue #2384
* Update app/views/auth/formLogin.phtml
Co-Authored-By: Alexandre Alapetite <alexandre@alapetite.fr>
* Update app/views/auth/register.phtml
Co-Authored-By: Alexandre Alapetite <alexandre@alapetite.fr>
With Edge, only setting `.hidden = true` does not make the element and
sub-elements properly visible.
Should not make any difference for other browser.
Add the possibility to filter by feed ID like `f:123 more-search`
or multiple feed IDs, like `f:123,234,345 more-search` or an exclusion
like `!f:456,789 more-search`
* markdownlint
I have started to use
[markdownlint](https://github.com/DavidAnson/markdownlint/) to find
typos in Markdown. Let's discuss which rules to enforce / disable /
customize
* markdownlint cli/readme
* Fix JS for statistics repartition select form
Error was: `s.form is null in extra.js:166:7`
At the same time, disable the form and clears the value while waiting
for the next page to load, to better understand what is happening.
* Whitespace
https://www.git-scm.com/docs/gitattributes
Disable automatic end-of-line conversion from Unix to Windows.
We do not have any file type in the project that is sensitive to line
ending (e.g. PHP works fine on Windows with Linux line endings), but the
automatic conversion makes it annoying to work on the same git local
repository from different systems (e.g. hybrid Linux / Windows
development)