Commit Graph
4440 Commits
Author SHA1 Message Date
Alexandre Alapetite af575e061d Revert to Ubuntu 19.10 (#2943)
* Revert to Ubuntu 19.10

#Fix https://github.com/FreshRSS/FreshRSS/issues/2939
Revert https://github.com/FreshRSS/FreshRSS/pull/2925

Will upgrade back to 20.04 when Ubuntu bugs are fixed, e.g.
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1867675

* Revert changelog
2020-05-02 18:24:13 +02:00
Marien Fressinaud 960ecd2d09 Always put checkbox labels on the right (#2937)
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
2020-05-01 10:55:57 +02:00
Alexandre Alapetite f0db70dcb0 API Use string type for Usec (#2935)
#Fix https://github.com/FreshRSS/FreshRSS/issues/2934
2020-04-30 23:17:46 +02:00
Marien Fressinaud 8f188ffa84 Fix filenames for files exported with CLI (#2932)
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".
2020-04-30 12:11:51 +02:00
Alexandre Alapetite 4ac868b301 Changelog 2020-04-25 13:30:11 +02:00
Alexandre Alapetite 0f7970b4c0 Docker: Ubuntu 20.04 (#2925)
https://ubuntu.com/blog/ubuntu-20-04-lts-arrives
PHP 7.4.3, Apache 2.4.41
https://php.net/migration74
We have already addressed PHP 7.4 issues in FreshRSS 1.16
2020-04-25 12:27:25 +02:00
Alexandre Alapetite dba40e5870 WebSub move fixes (#2922)
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.
2020-04-24 16:29:19 +02:00
Frans de Jonge 5fbbc6ad58 Fix minor typo in Docker README (#2921) 2020-04-21 21:17:29 +02:00
bb3c35401c #2671 Apache reverse proxy (#2919)
* #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>
2020-04-21 20:11:34 +02:00
Kristian Salonen e2c8e73c2c Add credit related to #2912 (#2920) 2020-04-21 18:31:24 +02:00
Julien-Pierre Avérous acca89505b Enhance the way help elements are displayed (#2911)
* - 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.
2020-04-20 23:27:17 +02:00
Kristian Salonen bd9a72726d Fix for "Flash Of Unstyled Content" and slow loading in the Firefox (#2913) 2020-04-20 23:20:34 +02:00
Marien Fressinaud 582a0041a9 Don't check email if feature disabled or for admin (#2917) 2020-04-20 17:48:41 +02:00
Andrew HunterandAlexandre Alapetite f8db9ddd85 Turn off autocaptialization on the username field to improve mobile UX. (#2907)
* 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>
2020-04-18 23:38:32 +02:00
Alexandre Alapetite e9213e89f4 Fix CSS Edge glitch in archiving options (#2906)
With Edge, only setting `.hidden = true` does not make the element and
sub-elements properly visible.
Should not make any difference for other browser.
2020-04-18 11:50:35 +02:00
Alexandre Alapetite ae70374b03 Filter by multiple feed IDs (#2892)
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`
2020-04-17 10:57:35 +02:00
Alexandre Alapetite a49db010e4 A wrong login must return HTTP 403 (#2903)
* A wrong login must produce HTTP 403

#fix https://github.com/FreshRSS/FreshRSS/issues/2901
https://github.com/FreshRSS/FreshRSS/pull/2794/files#r389319248

* Just for consistency
2020-04-17 10:56:06 +02:00
Alexandre Alapetite bdc4da6ad0 Expose podcast in API (#2898)
* Expose podcast in API

Expose RSS enclosures in our API, e.g. for clients supporting podcasts

* PHP CS?

* Annoying linter

* Light optimisation
2020-04-16 18:11:26 +02:00
Alexandre Alapetite 5ddae68953 Option to control which categories to unfold (#2888)
#fix https://github.com/FreshRSS/FreshRSS/issues/2324
2020-04-16 18:09:54 +02:00
Alexandre Alapetite 475feffdbe Markdownlint (#2880)
* 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
2020-04-16 18:08:53 +02:00
Alexandre Alapetite 946d9f5535 Reduce DB locks (#2899)
Do not lock the DB to update it when there is nothing to commit.
This should reduce the risk of seeing some `database is locked` errors.
2020-04-14 00:09:13 +02:00
Alexandre Alapetite f2e0f051aa Fix JS for statistics repartition select form (#2896)
* 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
2020-04-12 16:40:06 +02:00
Alexandre Alapetite 82278af7a9 Fix double HTML-encoding in category names (#2897)
Category names are already HTML-encoded when reaching the view.
2020-04-12 16:36:45 +02:00
Alexandre Alapetite 14fa3f2781 jQuery 3.5.0 (#2895)
https://blog.jquery.com/2020/04/10/jquery-3-5-0-released/
2020-04-12 11:37:50 +02:00
yzqzss 8a83f7a856 Add files via upload (#2894) 2020-04-12 11:32:47 +02:00
Troy Engel 1401186a48 pause automatic updates during upgrade (#2893) 2020-04-11 17:47:08 +02:00
yzqzss d1fdfbf987 Update Chinese Translation (#2891)
* Update admin.php

* Update conf.php

* Update feedback.php

已重置

* Update gen.php

* Update sub.php

* Update user.php

* Update user.php
2020-04-11 15:22:02 +02:00
kinoushe 8f71b80fbb Update CREDITS.md (#2890) 2020-04-11 00:36:43 +02:00
Frans de Jonge 04e5f5b2e4 Minor stylelint exception formatting change (#2889)
Slightly tidier
2020-04-10 18:51:59 +02:00
kinousheandAlexandre Alapetite da67489df2 Fix search input styling in Safari (#2887)
* Fix search input styling in Safari
#fix https://github.com/FreshRSS/FreshRSS/issues/2885

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2020-04-10 14:22:02 +02:00
Alexandre Alapetite f29b63df3b gitattributes (#2879)
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)
2020-04-09 14:03:47 +02:00
Alexandre Alapetite de882dad43 Start 1.16.1-dev 2020-04-09 14:03:12 +02:00
Alexandre Alapetite 1821266035 Release 1.16.0
https://github.com/FreshRSS/FreshRSS/issues/2871
1.16.0
2020-04-09 12:30:16 +02:00
Alexandre Alapetite 847ad278a4 Fix BlueLagoon and Screwdriver hover title (#2884)
#fix https://github.com/FreshRSS/FreshRSS/issues/2755
Follow-up of
https://github.com/FreshRSS/FreshRSS/pull/2882#issuecomment-611136775

https://stackoverflow.com/questions/2837057/what-has-bigger-priority-opacity-or-z-index-in-browsers
2020-04-09 00:25:08 +02:00
Alexandre Alapetite e00580cc36 Changelog 2020-04-08 20:59:01 +02:00
Alexandre Alapetite f9e92a9286 Fix CSS hover long title (#2882)
* Fix CSS hover long title

#fix https://github.com/FreshRSS/FreshRSS/issues/2755

* Fix Ansum

* Fix Mapco
2020-04-08 20:52:15 +02:00
Alexandre Alapetite 0d235cbadd Swap shortcuts for mark all articles as read / mark previous articles as read (#2881)
* Swap shortcuts for mark all articles as read / mark previous articles as read

#fix https://github.com/FreshRSS/FreshRSS/issues/2865
Follow-up of https://github.com/FreshRSS/FreshRSS/pull/2843
* <kbd>⇧ Shift</kbd>+<kbd>R</kbd> to mark all articles as read;
* <kbd>Alt ⎇</kbd>+<kbd>r</kbd> to mark previous articles as read.

* i18n
2020-04-08 13:17:20 +02:00
Alexandre Alapetite e15e5d75c9 Changelog + credits
With slight linting https://github.com/FreshRSS/FreshRSS/pull/2880
2020-04-08 12:43:18 +02:00
Damien Leroy bd036425aa [i18n] Update French translations (#2878)
* Add french translate

* Fix documentation broken url
2020-04-05 08:33:04 +02:00
Alexandre Alapetite 2b26f9dcbd More changelog 2020-04-04 20:58:05 +02:00
Alexandre Alapetite fee7d8b6a7 Full with for audio UI (#2877)
#fix https://github.com/FreshRSS/FreshRSS/issues/2875
2020-04-04 20:53:05 +02:00
Eris f3a7343644 add to contributions (#2876) 2020-04-04 17:46:15 +02:00
ErisandAlexandre Alapetite 2a6f6ee3f3 sort results in find() method (#2874)
* sort results in find() method

* Update lib/lib_phpQuery.php

Co-Authored-By: Alexandre Alapetite <alexandre@alapetite.fr>
2020-04-04 12:27:48 +02:00
Quent-in c9b5e8b527 [i18n] Update Occitan language (#2873)
* Update admin.php

* Update user.php

* Update index.php

* Update gen.php

* Update feedback.php

* Update conf.php

* Update sub.php
2020-04-03 23:53:11 +02:00
Alexandre Alapetite 9997acd611 Minor SimplePie merge (#2870)
https://github.com/FreshRSS/FreshRSS/pull/2852 was merged upstream
https://github.com/simplepie/simplepie/pull/643
Follow-up of https://github.com/FreshRSS/FreshRSS/pull/2814
2020-04-01 22:42:32 +02:00
Alexandre Alapetite 16528a2ce5 Minor errors in changelog 2020-04-01 22:41:17 +02:00
Alexandre Alapetite bbb1fbf8b1 Changelog + credits
Towards 1.16.0 release
2020-04-01 19:00:40 +02:00
Alexandre Alapetite 61c8026ac9 Implement negation for searching by date intervals (#2869)
* Implement negation for searching by date intervals

#fix https://github.com/FreshRSS/FreshRSS/issues/2866
Allow searching for e.g. `!date:P1W` to exlude all articles newer than
one week.
More generally, allows exclusion on some date intervals.

* Fix OR
2020-04-01 17:26:19 +02:00
Alexandre Alapetite 656b61ff29 Fix fetch content for complex HEAD (#2867)
* Fix contentSelectorPreviewAction

Was not compatible with https://github.com/FreshRSS/FreshRSS/pull/2588

* Fix lib_phpQuery for <head ...>

#fix https://github.com/FreshRSS/FreshRSS/issues/2864
* Replace split() by explode() for PHP7 compatibility
https://php.net/str-split
* Fix for document with a `<head>` tag more complicated, like `<head
profile="http://www.w3.org/1999/xhtml/vocab">`
2020-04-01 02:09:08 +02:00
Alexandre Alapetite 5858aaf7fc API return proper newestItemTimestampUsec (#2854)
* API return proper newestItemTimestampUsec

#fix https://github.com/FreshRSS/FreshRSS/issues/2853

* Minor naming

* Add newestItemTimestampUsec for labels

* Do not use t.name after all
2020-04-01 02:08:45 +02:00