aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/menu/menu.component.ts
Commit message (Collapse)AuthorAgeFilesLines
* Fix menu dropdownsChocobozzz2023-05-221-6/+0
| | | | | Better responsive Avoid menu scrollbar displayed in notification popove
* Correctly unsubscribe on menu destroyChocobozzz2023-02-161-22/+34
|
* Refactor login redirection/button linksChocobozzz2023-02-141-6/+0
| | | | Correctly handle external auth redirection in all cases
* Implement signup approval in clientChocobozzz2023-01-191-0/+4
|
* Redirect to default login url on 401Chocobozzz2023-01-041-6/+2
| | | | Can be an external URL
* Add ability for client to create server logsChocobozzz2022-07-181-3/+3
|
* Add ability for admins to set default p2p policyChocobozzz2021-12-161-2/+2
|
* Update torrents info name on video updateChocobozzz2021-12-081-1/+1
|
* Add ability to redirect users on external authChocobozzz2021-12-031-0/+10
|
* Migrate client to eslintChocobozzz2021-08-181-1/+1
|
* Fix signup button displayChocobozzz2021-07-201-0/+3
|
* Bidi supportChocobozzz2021-06-071-0/+1
|
* Add ability to filter menu linksChocobozzz2021-06-071-35/+38
|
* Use HTML config when possibleChocobozzz2021-06-041-9/+10
|
* Instance homepage support (#4007)Chocobozzz2021-05-271-2/+21
| | | | | | | | | | | | | | | | | * Prepare homepage parsers * Add ability to update instance hompage * Add ability to set homepage as landing page * Add homepage preview in admin * Dynamically update left menu for homepage * Inject home content in homepage * Add videos list and channel miniature custom markup * Remove unused elements in markup service
* Fix menu dropdown overflowChocobozzz2021-04-261-13/+8
| | | | Weird issue conflicting with the dropdown config from the menu component
* Minimal PeertubeModalService to open settings from "can be redefined..." (#3923)aschaap2021-04-061-0/+5
| | | | | | | * Minimal PeertubeModalService to open settings from "can be redefined..." * Linter changes * Removed unused parameter, made Subject type reflect this, and formatting
* fix undefined dropdown on user logoutRigel Kent2021-01-141-1/+1
|
* User dropdown and notifications popover improvements (#3344)Kimsible2020-12-131-7/+45
| | | | | | | | | | | | | | | | | | | * hove user dropdown on avatar and username * rename avatar-notification to notification component * use a link on mobile for notification component * add profile user dropdown and mobile notifications link as reusable active link * replace markAllAsRead inbox glyphicon to ok in notification popover * remove keyboard shortcuts from user dropdown on mobile * use common bell icon instead of inbox-full for notifications * remove duplicated notification in user dropdown since the bell appears on the right * adjust sensitive icon in user dropdown * align vertically user buttons popover and dropdown * adjust ellipsis on user display name and username in menu * adjust notification bell for mobile in menu * display background of user dropdown avatar and username for touchscreens * add right arrow indicator on mobile Co-authored-by: kimsible <kimsible@users.noreply.github.com> Co-authored-by: Rigel Kent <sendmemail@rigelk.eu>
* Various front optimizationsChocobozzz2020-11-271-31/+34
|
* small refactor + clipboard copy on anchor click in instance page (#3318)Kimsible2020-11-171-8/+6
| | | | | | | | | | | | | * Refacto scrollTo top and anchors * Add on click clipboard copy and notifier to anchors about/instance page * Fix margin top anchor middle title about page * Use viewportscroller for scrolltoanchor * Add to Link copied notification on instance page Co-authored-by: kimsible <kimsible@users.noreply.github.com>
* Reorganize left menu and account menuChocobozzz2020-11-131-19/+23
| | | | | | Add my-settings and my-library in left menu Move administration below my-library Split account menu: my-setting and my library
* Add restore scroll position on user-dropdown anchors links and scroll to top ↵Kim2020-08-171-3/+30
| | | | | | | | | | | | | | | | | | | on active sub-menu links (#3066) * Add restore scroll position on router same url * Remove settings top anchor * Add scrollToTop on active links fixed sub-menu * Add restore scroll position on notification avatar links * Toggle menu and close pophover when click on active dropdown menu-left link * Add onSameUrlRestoreScrollPosition on user dropdown channels link * Same behavior scrollTop and scroll to anchor everywhere Co-authored-by: kimsible <kimsible@users.noreply.github.com>
* Migrate to $localizeChocobozzz2020-08-141-9/+7
| | | | | | | | | | | | * Remove i18n polyfill to translate things in components * Reduce bundle sizes * Improve runtime perf * Reduce a lot the time to make a full client build * Reduce client build complexity * We don't need a service to translate things anymore (so we will be able to translate title pages etc) Unfortunately we may loose some translations in the migration process. I'll put a message on weblate to notify translators
* Add alert and hide upload view when no upload is possible (#2966)Kim2020-07-281-22/+45
| | | | | | | | | | | | | | | | | | | | | | * Add alert and hide upload view when no upload is possible * Add about instance link to alert * Hide videos and imports links when no upload is possible * Correct curly spacing lint * Put logic canUpload to User model + add isHidden param to to-menu-dropdown * Use canSeeVideoLinks from user model * Rename and change logic canUpload to isUploadDisabled * Use isDisplayed() method intead of isHidden value * Refactor client and check videos count using quota Co-authored-by: kimsible <kimsible@users.noreply.github.com> Co-authored-by: Chocobozzz <me@florianbigard.com>
* Use 3 tables to represent abusesChocobozzz2020-07-101-2/+2
|
* Reorganize client shared modulesChocobozzz2020-06-231-7/+3
|
* preserve original variable names server-sideRigel Kent2020-06-101-2/+2
|
* rename blacklist to block/blocklist, merge block and auto-block viewsRigel Kent2020-06-101-2/+2
| | | | | | | | | | | - also replace whitelist with allowlist - add advanced filters for video-block-list view - move icons in video-block-list and video-abuse-list to left side for visibility - add robot icon to depict automated nature of a block in video-block-list resolves #2790
* Fix dropdown-user placement and menu-left scroll on touchscreens (#2706)Kim2020-05-011-1/+15
|
* Fix unknown video language labelChocobozzz2020-04-161-0/+2
|
* Handle overview pagination in clientChocobozzz2020-03-111-15/+35
|
* Fix lintChocobozzz2020-02-281-1/+1
|
* Add visitor settings, rework logged-in dropdown (#2514)Rigel Kent2020-02-281-7/+55
| | | | | | | | | | | | | | * Add visitor settings, rework logged-in dropdown * Make user dropdown P2P switch functional * Fix lint * Fix unnecessary notification when user logs out * Simplify visitor settings code and remove unnecessary icons * Catch parsing errors and reindent menu styles
* Add informational message at login for visitors coming from upload buttonRigel Kent2020-01-101-1/+0
| | | | resolves #1880
* Lazy load static objectsChocobozzz2019-12-181-2/+8
|
* Update angularChocobozzz2019-07-251-1/+1
|
* WIP plugins: load theme on client sideChocobozzz2019-07-241-4/+0
|
* Better typingsChocobozzz2018-10-181-1/+1
|
* NoImplicitAny flag true (#1157)BO412018-10-181-1/+1
| | | | | | | | this enables the `noImplicitAny` flag in the Typescript compiler > When the noImplicitAny flag is true and the TypeScript compiler cannot infer the type, it still generates the JavaScript files, but it also reports an error. Many seasoned developers prefer this stricter setting because type checking catches more unintentional errors at compile time. closes: #1131 replaces #1137
* Fix video import of some youtube videosChocobozzz2018-09-261-1/+1
|
* add shortcuts icon in menuRigel Kent2018-09-261-1/+12
|
* Fix admin access to moderatorsChocobozzz2018-09-191-3/+7
|
* refactor theme toggle into a serviceRigel Kent2018-09-061-33/+3
|
* hotkey to toggle dark themeRigel Kent2018-09-041-1/+12
|
* add theming via css custom propertiesRigel Kent2018-09-041-0/+24
| | | | and a bonus dark color theme toggle
* Add ability to choose the languageChocobozzz2018-06-281-2/+8
|
* Add i18n attributesChocobozzz2018-06-051-3/+3
|
* feature: IP filtering on signup pageRigel Kent2018-05-221-1/+2
| | | | | | disable registration form on IP not in range checking the CIDR list before filtering with it placing the cidr filters as an attribute object in the config
* Add video channel account listChocobozzz2018-04-251-4/+0
|