aboutsummaryrefslogtreecommitdiff
path: root/p/scripts/main.js
AgeCommit message (Collapse)Author
2018-10-26Fix manual refresh commit (#2081)Gravatar Alexandre Alapetite
Commit was performed too early, potentially before the last feeds were done refreshing
2018-10-14init confirm also for configuration pages (#2048)Gravatar Alexandre Alapetite
There are some actions that require confirmation also in the configuration pages, such as delete user.
2018-10-14Remove some preload / prefetch (#2040)Gravatar Alexandre Alapetite
* 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-09-29Custom labels (#2027)Gravatar Alexandre Alapetite
* 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-16Improve authors (#2025)Gravatar Alexandre Alapetite
* 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-01-26Fix shortcuts for view switchingGravatar Alexis Degrugillier
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-02Fix shortcuts triggering view switchingGravatar Alexis Degrugillier
2018-01-01Add shortcuts to switch views (#1755)Gravatar Alexis Degrugillier
2017-11-04Add a Mastodon share (#1674)Gravatar Alexis Degrugillier
See #1521
2017-09-30Remove limitation on toggleContent (#1647)Gravatar Alexis Degrugillier
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-23Minor JS whitespaceGravatar Alexandre Alapetite
2017-08-20Recalc sticky column on lazy img loadGravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/issues/1593
2017-08-20Minor JS hintsGravatar Alexandre Alapetite
2017-06-21Make feedlist padding a bit dynamicGravatar romibi
2017-06-03Merge pull request #1564 from aledeg/open-site-shortcutGravatar Alexandre Alapetite
Add support for a new shortcut in reader view
2017-06-03Improve js commentsGravatar Alexis Degrugillier
2017-06-02Add support for a new shortcut in reader viewGravatar Alexis Degrugillier
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-05-26sides_close_article: JS syntaxGravatar Alexandre Alapetite
2017-05-22Merge branch 'master' into devGravatar Paulius Šukys
2017-05-22Added additional configuration setting for #1530 . This includes default ↵Gravatar Paulius Šukys
settings and translation entry for English
2017-03-29Add manual commit & refresh cache to deferred insertionGravatar Alexandre Alapetite
2017-03-26Candidate implementation of defered insertionGravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/issues/530
2017-03-04Do not mark as read in anonymous modeGravatar Alexandre Alapetite
And avoid HTTP 403 https://github.com/FreshRSS/FreshRSS/issues/1431
2017-02-23Un-disable mark-as-read buttonGravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/issues/1421 https://github.com/FreshRSS/FreshRSS/issues/1348
2017-01-23Update main.jsGravatar Crupuk
2017-01-19Switch to FreshRss tab Gravatar Crupuk
Switch to FreshRss tab when notification is clicked and close notification
2016-11-15init confirm after DOM loadGravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/issues/1348
2016-10-29Disable "mark all as read" before confirmation script is loadedGravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/issues/1342
2016-10-16mark_read optimisationGravatar Alexandre Alapetite
2016-10-16Scroll as read: keep unread functionGravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/pull/1309
2016-10-16Scroll performanceGravatar Alexandre Alapetite
Fewer events, and ensure an event is fired after the end of the scroll. https://github.com/FreshRSS/FreshRSS/pull/1309
2016-10-16Scroll as read for Global view + throttle eventGravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/issues/1317 https://github.com/FreshRSS/FreshRSS/pull/1309
2016-10-14Scroll as read: mark as unread bugGravatar Alexandre Alapetite
2016-10-13Scroll as read minor variableGravatar Alexandre Alapetite
2016-10-13Scroll as readGravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/issues/1258
2016-10-10Fix bug shareGravatar Alexandre Alapetite
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-08W3C resource-priorities have been abandonnedGravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/issues/1222
2016-10-06FreshRSS custom event 'freshrss:load-more'Gravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/issues/1278
2016-09-07Prevent a target _blank attacks with window.openerGravatar Alexandre Alapetite
https://mathiasbynens.github.io/rel-noopener/ noopener is implied by noreferrer https://html.spec.whatwg.org/multipage/semantics.html#link-type-noreferrer The API for window.open() does not seem stable yet https://bugzilla.mozilla.org/show_bug.cgi?id=1267339
2016-08-15Read-all bug fixedGravatar Alexandre Alapetite
Introduced by the new forms of https://github.com/FreshRSS/FreshRSS/issues/772 https://github.com/FreshRSS/FreshRSS/pull/1188
2016-08-14Refresh sticky column after auto-loadGravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/pull/1172
2016-08-13sticky-kit fix, and compatible async deferGravatar Alexandre Alapetite
And set correct parent option https://github.com/FreshRSS/FreshRSS/pull/1172
2016-08-13Merge conflictsGravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/pull/1172
2016-08-13CSRF token, update HTTP Referrer policy to same-originGravatar Alexandre Alapetite
https://www.w3.org/TR/referrer-policy/#referrer-policy-no-referrer https://github.com/FreshRSS/FreshRSS/issues/570 https://github.com/FreshRSS/FreshRSS/issues/955 https://github.com/FreshRSS/FreshRSS/issues/1198 https://github.com/FreshRSS/FreshRSS/issues/565 https://github.com/FreshRSS/FreshRSS/issues/554
2016-08-06Merge for conflictsGravatar Alexandre Alapetite
2016-08-06jQuery 3 compatibilityGravatar Alexandre Alapetite
https://jquery.com/upgrade-guide/3.0/ * event.props removed https://jquery.com/upgrade-guide/3.0/#breaking-change-jquery-event-props-and-jquery-event-fixhooks-removed https://github.com/jquery/api.jquery.com/issues/405 * jqXHR.success(), jqXHR.error(), and jqXHR.complete() removed
2016-08-06JSHint and safer async init_normalGravatar Alexandre Alapetite
2016-08-02JS unused variables, syntaxGravatar Alexandre Alapetite
2016-08-02JS load optimizationGravatar Alexandre Alapetite
Start loading what we can already before DOM is ready
2016-08-02Fix bug articles not marked as readGravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/issues/1123 https://github.com/FreshRSS/FreshRSS/issues/423