aboutsummaryrefslogtreecommitdiff
path: root/app/layout
AgeCommit message (Collapse)Author
2022-08-29Update header.phtml (#4558)Gravatar maTh
2022-08-11Update aside_feed.phtml (#4498)Gravatar maTh
2022-07-31sidebar and subscription management (#4474)Gravatar maTh
2022-07-04Dynamic OPML (#4407)Gravatar Alexandre Alapetite
* Dynamic OPML draft #fix https://github.com/FreshRSS/FreshRSS/issues/4191 * Export dynamic OPML http://opml.org/spec2.opml#1629043127000 * Restart with simpler approach * Minor revert * Export dynamic OPML also for single feeds * Special category type for importing dynamic OPML * Parameter for excludeMutedFeeds * Details * More draft * i18n * Fix update * Draft manual import working * Working manual refresh * Draft automatic update * Working Web refresh + fixes * Import/export dynamic OPML settings * Annoying numerous lines in SQL logs * Fix minor JavaScript error * Fix auto adding new columns * Add require * Add missing 🗲 * Missing space * Disable adding new feeds to dynamic categories * Link from import * i18n typo * Improve theme icon function * Fix pink-dark
2022-06-19Initial support for PHP 8.2 (#4421)Gravatar Alexandre Alapetite
* Initial support for PHP 8.2 Using dev image `freshrss/freshrss:latest` https://github.com/FreshRSS/FreshRSS/pull/4420 * Deprecated string interpolation
2022-06-11Safer htmlspecialchars_utf8 (#4411)Gravatar Alexandre Alapetite
* Safer htmlspecialchars_utf8 #fix https://github.com/FreshRSS/FreshRSS/issues/4410 * Undefined variable
2022-06-02New search engine (#4378)Gravatar Alexandre Alapetite
* New possibility to invoke user queries from a search expression From the search field: `S:"My query"`. Can be combined with other filters such as `S:"My query" date:P3d` as long as the user queries do not contain `OR`. A use-case is to have an RSS filter with a stable address or an external API call with the ability to update the user query. * Draft of parenthesis logic * More draft * Working parenthesis (a OR b) (c OR d) * Working (A) OR (B) * Support nested parentheses + unit tests + documentation * search:MySearch and S:3
2022-05-30Improved: Feed config: title, website url, feed url (#4258)Gravatar maTh
* do not display "website" in dropdown menu, when it is empty * feed name and URL required. input type = url * Update app/views/helpers/feed/update.phtml Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr> * Update app/views/helpers/feed/update.phtml Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr> * fix spaces and tabs * use classes indead of ID Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2022-05-23Custom logo HTML (#4369)Gravatar Alexandre Alapetite
* Custom logo HTML Add option for custom HTML logo/title in the main Web UI view. Can potentially be different per user. #fix https://github.com/FreshRSS/FreshRSS/pull/3830/files#r850472247 * logo_html in main config With new `./data/config.custom.php` to provide custom values before install * Docker documentation * whitespace * Auto relax CSP to allow images for HTML logo * Documentation
2022-05-17Fix bug in user query 4360 (#4371)Gravatar Alexandre Alapetite
Fix bug when taking advantage of https://github.com/FreshRSS/FreshRSS/pull/4360 At one place, the raw URL parameter was accessed instead of being reconstructed
2022-05-15User query automatic reconstruct of URL (#4360)Gravatar Alexandre Alapetite
* User query automatic reconstruct of URL (Invisible through the Web UI, only when working with configuration files manually) Avoid the requirement of storing user queries with duplicated information (parsed parameters AND the resulting URL): Before: ``` [ 'name' => 'Hello', 'search' => 'Hello OR World', 'state' => '3', 'url' => './?search=Hello+OR+World&amp;state=3', ] ``` After: ``` [ 'name' => 'Hello', 'search' => 'Hello OR World', 'state' => '3', ] ``` * Fix test
2022-05-15fix preview (#4291)Gravatar maTh
* fix * Update extra.js * reorga the scripts * Update extra.js * Several fixes https://github.com/FreshRSS/FreshRSS/pull/4291#issuecomment-1125472321 * More fixes * Cleaning * fix pr 4291 * Reorganise some script functions * Remove unused popup-txt And associated function openPopupWithMessage * Fix archiving categories https://github.com/FreshRSS/FreshRSS/pull/4291#issuecomment-1126924602 * Fix stats https://github.com/FreshRSS/FreshRSS/pull/4291#issuecomment-1126983134 * Fix direct subscription E.g. http://localhost/i/?c=subscription&id=735 * Fix subscription add https://github.com/FreshRSS/FreshRSS/pull/4291#issuecomment-1126991621 Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2022-05-15Automatic simplification of layout for many feeds (#4357)Gravatar Alexandre Alapetite
* Refactor OPML export categories Simplify code to comply with types hints. And renamed a property to plural. * Automatic simplification of layout for many feeds New advanced property to automatically simplify the layout when there are many (1k+) feeds so that FreshRSS works out of the box with 20k+ feeds scenarios https://github.com/FreshRSS/FreshRSS/pull/4347 Merge https://github.com/FreshRSS/FreshRSS/pull/4356 first.
2022-05-09Allow many (20k+) feeds (#4347)Gravatar Alexandre Alapetite
* Allow many (20k+) feeds Fix errors such as `SQL error listWhereRaw: ERROR: value "42926" is out of range for type smallint` Start of UI performance improvements accordingly.
2022-04-18Fix: article footer + improve: labeling (#4306)Gravatar maTh
* icon = open dropdown * label icon * added: link to edit labels * dropdown-menu label: padding and hover * improve input row * CSS * Update main.js * Update main.js * Update main.js * fix * make addItem button selectable via tabbing * Fixed theme: Ansum * tags menu: use the new icon * Fixed theme: Flat design make the manage button visible * fixed Theme: Mapco * Fixed theme: Pafat
2022-04-11Do not render irrelevant HTML for Ajax calls (#4310)Gravatar Alexandre Alapetite
#fix https://github.com/FreshRSS/FreshRSS/issues/4309
2022-04-11Improved: dropdown close area (#4293)Gravatar maTh
* fix Ansum theme: close X in white * fix Mapco theme: close X in white * move the dropdown-close outside of the list * CSS * bring flux elemt behind the grey background * Update main.js
2022-03-22Improve: manage feed in view within a slider (#4226)Gravatar maTh
* it works * small improvements * Update slider.js * fixed JS syntax * slider.js included in main.js * fix syntax * delete including of slider.js * Update extra.js
2022-03-14Improved: log page (#4204)Gravatar maTh
* first draft * wip * Theme Ansum * Update logs_pagination.phtml * Theme Mapco * Update adark.css * Update BlueLagoon.css * Update dark.css * Update screwdriver.css * Theme Swage * Update app/views/helpers/logs_pagination.phtml Co-authored-by: Frans de Jonge <fransdejonge@gmail.com> * Update app/views/helpers/logs_pagination.phtml Co-authored-by: Frans de Jonge <fransdejonge@gmail.com> * Update template.css * Update logs_pagination.phtml * Update logs_pagination.phtml * Update logs_pagination.phtml * RTL CSS * Update dark.rtl.css * Update swage.css * fix CLI findings * Indentation fixed * icons improved * CSS: centered icons * i18n * pipline test fixes * Update conf.php * Update gen.php * Update app/i18n/fr/conf.php Co-authored-by: Frans de Jonge <fransdejonge@gmail.com> Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2022-02-28Implement Web scraping "HTML + XPath" (#4220)Gravatar Alexandre Alapetite
* More PHP type hints for Fever Follow-up of https://github.com/FreshRSS/FreshRSS/pull/4201 Related to https://github.com/FreshRSS/FreshRSS/issues/4200 * Detail * Draft * Progress * More draft * Fix thumbnail PHP type hint https://github.com/FreshRSS/FreshRSS/issues/4215 * More types * A bit more * Refactor FreshRSS_Entry::fromArray * Progress * Starts to work * Categories * Fonctional * Layout update * Fix relative URLs * Cache system * Forgotten files * Remove a debug line * Automatic form validation of XPath expressions * data-leave-validation * Fix reload action * Simpler examples * Fix column type for PostgreSQL * Enforce HTTP encoding * Readme * Fix get full content * target="_blank" * gitignore * htmlspecialchars_utf8 * Implement HTML <base> And fix/revert `xml:base` support in SimplePie https://github.com/simplepie/simplepie/commit/e49c578817aa504d8d05cd7f33857aeda9d41908 * SimplePie upstream PR merged https://github.com/simplepie/simplepie/pull/723
2022-02-21Improved: icons in same color (#4212)Gravatar maTh
* delete white plus icon * delete unused icons * Themes * Update flat.css * minimized XML of SVG icons * RTL CSS fix * Update ansum.css Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2022-01-29Fix keep state after favourites tags (#4178)Gravatar Alexandre Alapetite
* Fix keep state after favourites tags #fix https://github.com/FreshRSS/FreshRSS/issues/4124 regression * Optimisation
2022-01-27Fixed: wrong dropdown triangle of labels category (#4174)Gravatar maTh
* Update aside_feed.phtml * Solution could be so simple
2022-01-12Improvement: menu icons (#4004)Gravatar maTh
* default icons * icons Flat theme * icons Swage theme * icon gets bright when hover: Ansum theme * icon gets bright when hover: Blue lagoon theme * icon gets bright when hover: Origine/Origine Compact theme * compressed SVG * Better formated SVG/XML files * Update bookmark-tag.svg
2022-01-07delete the no-mobile css class (#4128)Gravatar maTh
2021-12-31Add PHPStan (#4021)Gravatar Alexandre Alapetite
* Add PHPStan #fix https://github.com/FreshRSS/FreshRSS/issues/4016 https://phpstan.org/ ```sh composer run-script phpstan ``` * More fixes * Fix global variables * Add .phtml * Fix merge https://github.com/FreshRSS/FreshRSS/pull/4090 * Fix more warnings * Fix view errors and enable in CI * ReturnTypeWillChange * Dynamic view type * Fix Minz static/self bug
2021-12-31Improve: Aside slider: close slider when click on the outside of slider (#4061)Gravatar maTh
* CSS + PHTML * give some grey background * fixed whitespace * fixed RTL * close area just for mobile view
2021-12-31fix (#4065)Gravatar maTh
2021-12-03Fix: double main tags (#4014)Gravatar maTh
* replace div with main * include the slider into main * format source * add close icon for the extension slider * replace div with main * Update shortcut.phtml * fixed the nits
2021-11-24Switch category - remember status filter (#3986)Gravatar maTh
* url parameter * fixed phpcs * rename variables
2021-11-12Improve mobile view: access to the config menu (#3881)Gravatar maTh
* wip * improve the header * Fix theme "Adark" * fixed theme: Ansum * Fixed theme: BlueLagoon * fixed Ansum after PR comment of Frenzie * Fixed theme: Dark * fixed theme: Flat * fixed theme: Mapco * fixed theme: Origine compact * fixed theme: Pafat * fixed theme: Screwdriver * fixed theme: Swage * hide the close button in wide view * fixed base/template RTL * fixed SCSS of theme Swage * stylelint fix * fixed theme Swage * make fix-all Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2021-10-24Add pwa (#3890)Gravatar proletarius101
* Don't use Chrome or indeed Firefox on Android Would close #1963. But I will not finish this PR because the idea that every single website on the internet should have to do this is absolutely ridiculous. * add pwa manifest Add a pwa manifest as defined in https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Installable_PWAs - creates shortcuts without the browser frame - has a splash screen - has an independent view stack than the browser one * update manifest as per pwabuilder.com * add 32x32 and 48x48 icon config * enhance manifest spec compliance * change as per suggestions * Update app/layout/layout.phtml Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr> * fix mobile icon padding * remove screen auto rotation * change theme color to white * Move meta (Should not be in the referrer condition) * JSON HTTP cache Co-authored-by: Frans de Jonge <fransdejonge@gmail.com> Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2021-10-23add button to open nav panel (#3879)Gravatar maTh
2021-10-14Improve conf menu (#3880)Gravatar maTh
* i18n: "account" added * reordered menu + add logout in the left nav menu * Update app/i18n/fr/gen.php Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2021-09-18Headline structure improvement (Part 2) (#3851)Gravatar maTh
* Update about.phtml * Update queries.phtml * Update query.phtml * Update configure.phtml * Update profile.phtml * Update simple.phtml * update app\views\helpers\category\update.phtml
2021-09-12Menu: move stats into subscription management (#3803)Gravatar maTh
* add stats menu into subscription management menu * delete stats menu entry from dropdown menu * Delete aside_stats.phtml * Update aside_subscription.phtml
2021-09-11Headline structure improvement (#3830)Gravatar maTh
* header: h1 deleted - full logo included * template: config - display * WIP * shortcut configs. added fieldset. do not display the border by default * system.phtml * subscription: add feed or category * wip * wip * Update bookmarklet.phtml * Update archiving.phtml * Update queries.phtml * Update profile.phtml * Update manage.phtml * auth+update * Update template.rtl.css * fixed FreshRSS logo (Theme: Mapco) * Update mapco.rtl.css * Update _layout.scss * fixed FreshRSS logo (theme: Dark) * fix: FreshRSS logo (Theme: BlueLagoon) * fix: FreshRSS logo (Theme: Ansum) * fixed: FreshRSS logo (Theme: Alternative Dark) * fix: FreshRSS logo (Theme: Pafat) * fix: FreshRSS logo (Theme: Screwdriver) * fix: FreshRSS logo (theme: Swage) * Minor lint * little fix: FreshRSS logo (Theme: Origine) * Fix: FreshRSS logo (Theme: Origine Compact) Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2021-09-02Add navigation to about page (#3804)Gravatar maTh
* add navigation to about page * empty headline in aside navigation Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2021-08-15main + nav (#3747)Gravatar maTh
2021-07-21Add HTML5 tags (#3651)Gravatar maTh
* use HTML5 tags #3643 added some HTML5 tags: header, main, nav * <main> into <div> as dicussed in the PR. Todo: check side effects (f.e. threepaneview extension) * fixed whitespace with tabs * fixed more whitespaces with tabs it was not my fault, but I fixed it * added empty lines as wished * Update app/views/index/global.phtml Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr> * Update app/views/index/global.phtml * Update app/views/index/global.phtml * Update app/views/index/global.phtml * Update app/views/index/global.phtml * Update app/views/index/global.phtml * Update app/views/index/global.phtml Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr> Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
2021-02-28Travis: Enforce phpcs line length + whitespace (#3488)Gravatar Alexandre Alapetite
* 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-26"Show all" option on labels (#3472)Gravatar Alexis Degrugillier
It uses the favorite option to keep a similar experience through out the application and also to limit the number of options. See #3263
2021-02-14Change confusing naming for label (#3446)Gravatar Alexis Degrugillier
Before, labels were referred to as tag which was confusing since tags are content generated (retrieved from the feed) and label are user generated. Now, labels are properly named in their management page. See #3444
2021-01-12fix layout changes since new hook `nav_menu` (#3362)Gravatar Clemens Neubauer
* fix layout if no hooks `nav_menu` are active * Update app/layout/nav_menu.phtml oh thx Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr> Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2021-01-07Update user query feature (#3338)Gravatar Alexis Degrugillier
* Change user query wording There was some misunderstanding in the use of the user query feature, probably because of the wording. I've change it to make it more obvious. * Fix feedback when a query is bookmarked Before, the displayed query name was not the one intended. Now, the name is the one of the current bookmark * Document user queries I've added a few words on how to use the user queries because it seems there was some misunderstanding. See #3219
2021-01-07two new hooks (#3342)Gravatar Clemens Neubauer
* 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>
2020-11-02Remember open categories (#3185)Gravatar Prashant Tholia
* feature(normal) - Remember opened categories in the left menu Session storage based implementation to remember opened categories in left menu Issue Ref: #2248 * lib_phpQuery updates * Updates covering feedback points and functionality fixes * Feedback updates * Revert "lib_phpQuery updates" This reverts commit dcd23b9418405a2d14ee03c1fcadf90c04b267e1. * First review Change variable name to "remember" instead of "open". Start using localStorage instead of sessionStorage. Simplify code. * Simplify remember categories init function Replace 'session' with 'local' in function names and comment Set open categories CSS as same as when category is opened in 'active' unfold mode * Remove URLSearchParams check in remember categories init function * Delete open categories on login and logout * JSHint check fix * Second review * Make new mode the default for new users * Always open active category * Reduce / simplify code * i18n French * Revert default value Wait a bit more for this decision / change Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2020-10-11Misc. minorGravatar Alexandre Alapetite
Whitespace...
2020-07-23[lang] Tags management → tag management (#3125)Gravatar Frans de Jonge
* [lang] Tags management → tag management Cf. <https://github.com/FreshRSS/FreshRSS/pull/3121#issuecomment-662922474>. * Move tag management underneath subscription management
2020-07-23Add tag management page (#3121)Gravatar Alexis Degrugillier
The new page allows to create, delete and rename tags. See #3058