Commit Graph

257 Commits

Author SHA1 Message Date
Frans de Jonge
e20c7ef1b0 [fix] Finishing touches for next/previous without focus (#2140)
* [fix] Finishing touches for next/previous without focus

Cf. #1767.

* Avoid single quote

Alternative: use `’`

* Minor whitespace

* Minor whitespace

* be explicit about skipping

* add todos

* overshot by one
2018-11-18 19:31:36 +01:00
Matt DeMoss
f3a88614ef Add shortcuts for focusing next and previous without opening articles. (#1767)
* add skipping option to toggleContent to use later for 'i' and 'o' hotkeys

* in English config j,k are now 'open' and not 'skip', i,o are called 'focus .. without opening'
2018-11-18 14:08:27 +01:00
Patrick Crandol
38e3f792a4 reallow items kept unread to be interactive (#2085)
Remove .keep_unread from classes that do nothing.
2018-10-30 14:15:50 -04:00
Alexandre Alapetite
cae30f010a Fix manual refresh commit (#2081)
Commit was performed too early, potentially before the last feeds were
done refreshing
2018-10-26 22:18:11 +02:00
Alexandre Alapetite
fe1f6223f9 init confirm also for configuration pages (#2048)
There are some actions that require confirmation also in the
configuration pages, such as delete user.
2018-10-14 13:59:26 +02:00
Alexandre Alapetite
1cc891be35 Remove some preload / prefetch (#2040)
* Remove next prefetch

This approach was only efficient in the specific case when no change was
made (no mark-as-read, favourites, tags), and useless in the other
situations.
Removed to reduce server load.

* Remove next prefetch from JavaScript too

* Remove some preload / prefetch

While useful for the first request, those preload / prefetch hints are
slightly negative for the following requets, especially server-side,
e.g. generating one log entry in Apache, and a bit more network traffic.

* Revert mistake

* Remove comment

https://github.com/FreshRSS/FreshRSS/pull/2040#discussion_r223214915
2018-10-14 00:35:43 +02:00
Alexandre Alapetite
8ee8a573f1 Custom labels (#2027)
* First draft of custom tags

https://github.com/FreshRSS/FreshRSS/issues/928
https://github.com/FreshRSS/FreshRSS/issues/1367

* SMALLINT to BIGINT for id_entry

And uppercase SQL types

* Fix layout for unreads

* Start UI menu

* Change menu order

* Clean database helpers

https://github.com/FreshRSS/FreshRSS/pull/2027#discussion_r217971535

* Travis rules do not understand PostgreSQL constants

Grrr

* Tag controller + UI

* Add column attributes to tags

* Use only favicon for now, for label

* Fix styling for different themes

* Constant for maximum InnoDB index length in Unicode

https://github.com/FreshRSS/FreshRSS/pull/2027#discussion_r219052200
(I would have personnally prefered keeping the readability of a real
value instead of a constant, in this case of many SQL fields)

* Use FreshRSS_Factory::createCategoryDao

* Add view of all articles containing any tag

* Fix search in tags

* Mark as read tags

* Partial auto-update unread tags

* More auto update tag unreads

* Add tag deletion

* Do not purge tagged articles

* Minor comment

* Fix SQLite and UI bug

* Google Reader API support for user tags

Add SQL check that tag names must be distinct from category names

* whitespace

* Add missing API for EasyRSS

* Compatibility SQLite

Problematic parentheses

* Add SQL DISTINCT for cases with multiple tags

* Fix for PostgreSQL

PostgreSQL needs some additional type hint to avoid "could not determine
data type of parameter $1"

http://www.postgresql-archive.org/Could-not-determine-data-type-of-parameter-1-tp2171092p2171094.html
2018-09-29 20:47:17 +02:00
Alexandre Alapetite
b323ed0846 Improve authors (#2025)
* Links for authors and multiple authors

Favour ';' as a separator instead of ',' to better cope with
multi-author scientific articles.
Follow-up of https://github.com/FreshRSS/FreshRSS/pull/1997 ,
https://github.com/FreshRSS/FreshRSS/issues/1968,
https://github.com/FreshRSS/FreshRSS/pull/2023

* Change i18n authors

* Update layout

* Unicode-compatible search

Example for `author:Loïc`

* author <em> styling

* Final details

* Minor spacing
2018-09-16 10:46:27 +02:00
Alexandre Alapetite
60cc39db25 Merge pull request #2021 from Alkarex/jQuery3.3.1
jQuery 3.1.1 -> 3.3.1
2018-09-14 07:35:35 +02:00
Alexandre Alapetite
a6cbac9b91 bcrypt.js 2.4.4
https://github.com/dcodeIO/bcrypt.js
2018-09-12 21:51:36 +02:00
Alexandre Alapetite
d8c88b28c9 jQuery 3.1.1 -> 3.3.1
https://github.com/jquery/jquery/compare/3.1.1...3.3.1
2018-09-12 21:24:16 +02:00
Alexis Degrugillier
951eb708e6 Fix shortcuts for view switching
I've introduced shortcuts to switch between view in #1755. They have been broken by #1714.
Then I've made an ugly fix in #1758.

This change revert all changes to have something better.

See #1757
2018-01-26 08:17:32 +01:00
Alexis Degrugillier
db959a1a44 Fix shortcuts triggering view switching 2018-01-02 19:49:38 +01:00
Alexis Degrugillier
e73fae1591 Add shortcuts to switch views (#1755) 2018-01-01 18:53:53 +01:00
Alexis Degrugillier
afffbfce07 Add a Mastodon share (#1674)
See #1521
2017-11-04 21:19:51 +01:00
Alexis Degrugillier
ee834888cd Remove limitation on toggleContent (#1647)
Before, articles were repositioned only when the new and the old article were different. When they were the same, it was just closed.
It was frustrating with long articles, especially during reading.

Now, when an article is collapsed, it is repositionned no matter the collapsing method.

This should fix #1177
2017-09-30 08:25:07 +02:00
Alexandre Alapetite
ca7d1fddde Minor JS whitespace 2017-09-23 13:41:26 +02:00
Alexandre Alapetite
2fd5ab8c55 Fix global view CSRF
https://github.com/FreshRSS/FreshRSS/issues/1591
2017-09-23 13:34:57 +02:00
Alexandre Alapetite
eb84d4f8ff Recalc sticky column on lazy img load
https://github.com/FreshRSS/FreshRSS/issues/1593
2017-08-20 10:21:08 +02:00
Alexandre Alapetite
3108b2729f Minor JS hints 2017-08-20 10:18:54 +02:00
romibi
d4cd72dd21 Make feedlist padding a bit dynamic 2017-06-21 13:35:35 +02:00
Alexandre Alapetite
8a04454655 Merge pull request #1564 from aledeg/open-site-shortcut
Add support for a new shortcut in reader view
2017-06-03 12:02:27 +02:00
Alexis Degrugillier
c86ad2d660 Improve js comments 2017-06-03 07:23:01 +02:00
Alexis Degrugillier
5f942cc1c9 Add support for a new shortcut in reader view
Now you can open the original page in the reader view with the same shortcut you'll use in the normal view.
I've changed how we identify the link to make it more flexible.
The previous way was too restrictive since the selector used a really strict path to get the url.

There was another way to achieve the same thing without changing the selector.
It was quite ugly since some meaningless class would be added on the markup to match the selector query.

See #1400
2017-06-02 22:53:13 +02:00
Alexandre Alapetite
5208872481 sides_close_article: JS syntax 2017-05-26 13:08:00 +02:00
Paulius Šukys
e98b510cbb Merge branch 'master' into dev 2017-05-22 11:24:52 +02:00
Paulius Šukys
67dd80f842 Added additional configuration setting for #1530 . This includes default settings and translation entry for English 2017-05-22 09:33:55 +02:00
Alexandre Alapetite
0d4c26c673 Add manual commit & refresh cache to deferred insertion 2017-03-29 21:42:40 +02:00
Alexandre Alapetite
22b41f3bfc Candidate implementation of defered insertion
https://github.com/FreshRSS/FreshRSS/issues/530
2017-03-26 00:01:11 +01:00
Alexandre Alapetite
9e698108fe Do not mark as read in anonymous mode
And avoid HTTP 403 https://github.com/FreshRSS/FreshRSS/issues/1431
2017-03-04 11:21:57 +01:00
Alexandre Alapetite
bade06668e Un-disable mark-as-read button
https://github.com/FreshRSS/FreshRSS/issues/1421
https://github.com/FreshRSS/FreshRSS/issues/1348
2017-02-23 23:31:10 +01:00
Crupuk
c281d6a43c Update main.js 2017-01-23 09:05:13 +01:00
Crupuk
7a215f9de9 Switch to FreshRss tab
Switch to FreshRss tab when notification is clicked and close notification
2017-01-19 11:41:30 +01:00
Alexandre Alapetite
8e68ee54e0 init confirm after DOM load
https://github.com/FreshRSS/FreshRSS/issues/1348
2016-11-15 22:15:54 +01:00
Alexandre Alapetite
00f446d155 Disable "mark all as read" before confirmation script is loaded
https://github.com/FreshRSS/FreshRSS/issues/1342
2016-10-29 13:11:37 +02:00
Alexandre Alapetite
6cd38d73d0 mark_read optimisation 2016-10-16 16:10:58 +02:00
Alexandre Alapetite
3f78bad397 Scroll as read: keep unread function
https://github.com/FreshRSS/FreshRSS/pull/1309
2016-10-16 15:53:08 +02:00
Alexandre Alapetite
eb88fee64b Scroll performance
Fewer events, and ensure an event is fired after the end of the scroll.
https://github.com/FreshRSS/FreshRSS/pull/1309
2016-10-16 15:10:21 +02:00
Alexandre Alapetite
ce14841cc0 Scroll as read for Global view + throttle event
https://github.com/FreshRSS/FreshRSS/issues/1317
https://github.com/FreshRSS/FreshRSS/pull/1309
2016-10-16 12:31:13 +02:00
Alexandre Alapetite
36320c40b3 Global view scroll top 2016-10-15 19:55:15 +02:00
Alexandre Alapetite
626d9cbccb Scroll as read: mark as unread bug 2016-10-14 09:20:11 +02:00
Alexandre Alapetite
f766f34775 Scroll as read minor variable 2016-10-13 23:38:25 +02:00
Alexandre Alapetite
b4298f498f Scroll as read
https://github.com/FreshRSS/FreshRSS/issues/1258
2016-10-13 23:33:42 +02:00
Alexandre Alapetite
189692e6ad Fix bug share
https://github.com/FreshRSS/FreshRSS/issues/1289
Was using deprecated non-standard parameter in string.replace()

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/replace#Firefox-specific_notes
2016-10-10 21:57:33 +02:00
Alexandre Alapetite
6bc37cef47 W3C resource-priorities have been abandonned
https://github.com/FreshRSS/FreshRSS/issues/1222
2016-10-08 21:45:47 +02:00
Alexandre Alapetite
8c9ec7e8d5 jQuery 3.1.1 2016-10-07 22:32:39 +02:00
Alexandre Alapetite
7adcc0d29d FreshRSS custom event 'freshrss:load-more'
https://github.com/FreshRSS/FreshRSS/issues/1278
2016-10-06 19:07:54 +02:00
Alexandre Alapetite
c1c5279109 Merge branch 'FreshRSS/dev' into PostgreSQL 2016-09-25 01:38:32 +02:00
Alexandre Alapetite
d9bf9b2c6f Fix bug move feed to another category
CSRF
2016-09-24 17:32:30 +02:00
Alexandre Alapetite
2757aeca52 Merge dev: custom ports for PostgreSQL too
https://github.com/FreshRSS/FreshRSS/issues/1241
https://github.com/FreshRSS/FreshRSS/pull/1244
2016-09-11 11:52:06 +02:00