Commit Graph

139 Commits (52798aa5f277492d4dd2482bca9396d2e982fa19)

Author SHA1 Message Date
Chocobozzz 07f81d9dee
Fix NSFW policy on account/channel videos 2021-02-19 13:47:37 +01:00
Rigel Kent 5bcbcbe338 modularize abstract video list header and implement video hotness recommendation variant 2021-01-28 15:55:34 +01:00
Rigel Kent ab398a05e9 redirect to login on 401, display error variants in 404 component 2021-01-25 15:37:26 +01:00
Rigel Kent 370240824e
Allow users/visitors to search through an account's videos (#3589)
* WIP: account search

* add search to account view

* add tests for account search
2021-01-19 13:43:33 +01:00
Rigel Kent 490109c766
better subscribe button display for accounts 2021-01-12 01:18:34 +01:00
Rigel Kent f2eb23cd87
emit more specific status codes on video upload (#3423)
- reduce http status codes list to potentially useful codes
- convert more codes to typed ones
- factorize html generator for error responses
2020-12-08 21:16:10 +01:00
Chocobozzz 0aa52e1707
Add ability to display all channel/account videos 2020-11-18 15:29:38 +01:00
Chocobozzz d3bb7994fe
Improve report labels 2020-09-03 16:09:22 +02:00
Chocobozzz f29f487ef8
Use localize for page titles 2020-08-17 10:30:59 +02:00
Chocobozzz 66357162f8
Migrate to $localize
* 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
2020-08-14 10:28:30 +02:00
Chocobozzz ae2dd04617
Correctly fix sub menu 2020-08-10 09:43:44 +02:00
Chocobozzz cfde28bac3 Add ability to report account 2020-07-10 14:02:41 +02:00
Chocobozzz 67ed6552b8 Reorganize client shared modules 2020-06-23 16:00:49 +02:00
Chocobozzz af75e2d8df
Correctly fix client build 2020-06-16 13:51:50 +02:00
Chocobozzz 5c20a45518
Fix anonymous nsfw policy 2020-06-16 11:26:46 +02:00
Caroline Chuong c9e3565dc8
fix headings order or add missing ones (#2871)
Co-authored-by: Rigel Kent <sendmemail@rigelk.eu>
2020-06-13 00:53:56 +02:00
Rigel Kent d39db21a88
match margin of abstract-video-list and sub-menu's fixed margin 2020-06-12 12:26:48 +02:00
Rigel Kent 435258ea3c
fix miniature fixed height, add link/title to avatar, remove pr-2 on channels list 2020-06-12 09:51:16 +02:00
Chocobozzz cf78883c70
Limit thumbnail sizes 2020-06-11 16:41:51 +02:00
Rigel Kent e66883b37a
`fitWidth` for `video-miniature`, fluid grid (#2830)
* Fluid abstract video list

* normalize timestamp display on miniatures

* use grid for abstract-video-list

- refactor scss function var to pvar to avoid overriding css variables
- move fluid-grid margins to adapt-margin-content-width mixin for maintainability
- fix video-miniature-name margin-top on small screen

* move sceenratio function in a mixin

* display no miniature avatar in channel videos view
2020-06-09 09:33:28 +02:00
Kim 4682468d4d
Fix broken views on mobile and small screens (#2671)
* Fix mobile CSS for my-account-settings

* Fix mobile CSS for my-account-videos

* Fix mobile CSS my-account-video-channels

* Fix mobile CSS for my-account-playlists

* Fix CSS mobile for user-subscriptions header

* Fix CSS mobile my-account-video-channel-edit

* Fix CSS mobile / small view for textarea

* Fix margin-right my-delete-button on inside span

* Fix CSS mobile on accounts page

* Fix indent

* Fix CSS mobile for my-account-notifications

* Fix CSS mobile / small view my-account-videos

* Fix search small-view channels

* Use miniature width for title of video on mobile

* Add dots to ellipsis multilines

* Fix controls and title video width small views

* Fix my-account-playlist small and mobile views

* Fix channels header + account header mobile

* Fix CSS mobile/small view for my-account/subscriptions

* Fix align followers channel item

* Center header elements user account page on mobile

* Fix margins on a element and img

* Fix margin img channel or video

Co-Authored-By: Rigel Kent <par@rigelk.eu>

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
Co-authored-by: Rigel Kent <par@rigelk.eu>
2020-04-27 14:57:50 +02:00
Rigel Kent 947d01023d
Improve channel and account display on medium devices 2020-04-03 14:13:28 +02:00
Chocobozzz 34450e1e55
Update manage labels 2020-03-19 10:29:43 +01:00
Rigel Kent 937b7a6af8
Better display of accounts and channel pages on small screens 2020-03-09 10:22:11 +01:00
Rigel Kent 288c78eaae
Always copy full actor handle in video-channels view 2020-03-05 23:49:12 +01:00
Rigel Kent d3217560a6
Add visitor settings, rework logged-in dropdown (#2514)
* 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
2020-02-28 13:52:21 +01:00
Rigel Kent 14571f1995
Replace uppercase text-transform by capitalized text source
fixes #2085
2020-02-21 16:51:34 +01:00
Rigel Kent 9b8a7aa8ea
Improve search typeahead performance and use native events 2020-02-13 16:35:24 +01:00
Rigel Kent 24e7916c68 Add ListOverflow component to prevent sub-menu overflow 2020-02-13 10:25:22 +01:00
Chocobozzz 7811819b1a Use angular 9 clipboard cdk 2020-02-10 16:39:28 +01:00
Chocobozzz 0b1de58658
Fix i18n 2020-02-04 17:16:09 +01:00
Chocobozzz fef213cae1
Fix is managaeble for channels 2020-01-22 15:01:38 +01:00
Chocobozzz 496b02e38f
Fix is managaeble error 2020-01-22 14:14:14 +01:00
Rigel Kent 9b82d49da8 Add action dropdown descriptions 2020-01-21 11:59:41 +01:00
Rigel Kent aa0f19635a Add manage buttons for own channels and account, video counts (#2421)
* Add manage buttons for own channels and account, video counts

* Change manage button color and introduce secondary color
2020-01-21 09:35:23 +01:00
Rigel Kent a004ff1726
Add naive aggregation from channels to account display of subscribers 2020-01-10 16:23:55 +01:00
Rigel Kent 9270ccf6dc Make subscribe buttons observe subscription statuses to synchronise 2020-01-10 10:12:09 +01:00
Rigel Kent 41eb700fce Refactor my-subscribe-button to support full account subscription 2020-01-10 10:12:09 +01:00
Chocobozzz 440d39c52d
Skip videos count on client if we don't use it 2020-01-08 14:40:08 +01:00
Rigel Kent 223b24e618
Fix upnext, refactor avatar menu, add to playlist overflow 2019-12-20 17:49:57 +01:00
Chocobozzz 3131c13e02
Don't support images in account descriptions 2019-12-06 14:01:28 +01:00
Chocobozzz 7e049ea467
Handle HTML in account descriptions 2019-12-06 13:57:57 +01:00
Chocobozzz 6eb62c3390
Fix video rows overflow
In discover and account channel videos pages
2019-08-22 13:59:54 +02:00
Chocobozzz ad453580b2
Fix infinite scroll on big screens 2019-08-02 14:49:25 +02:00
Chocobozzz 075942b212
Fix mute badge labels 2019-08-01 17:01:35 +02:00
Chocobozzz bfbd912886 Fix broken playlist api 2019-08-01 09:11:04 +02:00
Chocobozzz dc89026348
Add show channel button in account page 2019-07-29 17:12:18 +02:00
Chocobozzz 93cae47925 Add client hooks 2019-07-24 10:58:16 +02:00
Chocobozzz ee1d0dfb6d
Improve account username copy button 2019-06-19 15:14:13 +02:00
Nassim Bounouas e379f813d4 Feature/completeUsernameCopy (#1913)
* #1843 Copy icon added to account page to copy Username

* #1843 Store an account name with the host forced and bind it to copy button

* #1843 tslint correction

* #1843 copy to clipboard replaced by ngx-clipboard
2019-06-19 14:57:39 +02:00
Chocobozzz fff77ba231
Fix account channel overflow 2019-06-11 14:31:11 +02:00
Chocobozzz 1a03bea0c4
Redirect to local route when getting peertube account 2019-06-07 15:43:45 +02:00
Chocobozzz ee79b60e4e
More robust federation
In particular when fetching pleroma outbox
2019-05-31 15:17:04 +02:00
Chocobozzz 57cfff7885
Remove unused actor uuid field 2019-05-31 14:49:31 +02:00
Chocobozzz 34c7f429e4
Group videos on chronological order 2019-05-31 11:15:50 +02:00
Chocobozzz bc01017be9
Add ability to subscribe from the channel account page 2019-05-29 17:00:40 +02:00
Chocobozzz c8487f3f63
Improve account channel page
Set it as the default route for account page. The main goal is to better
differentiate the channel page from the account page. With the channel
page set as default, I hope people will better understand they are in
the account page, and that this account could have multiple channels.
2019-05-29 16:45:59 +02:00
Chocobozzz 722bca907b
Fix component reuse on channel/account videos 2019-05-13 10:37:55 +02:00
Chocobozzz e2409062de
Refactor video miniatures 2019-04-03 16:17:41 +02:00
Chocobozzz c47106315a
tslint update 2019-04-02 18:30:26 +02:00
Chocobozzz 489290b8b1
Restore videos list components 2019-04-02 11:45:02 +02:00
Chocobozzz 41d713446c
Lazy import some modules 2019-02-15 15:52:18 +01:00
Chocobozzz 307902e2b3
Try to fix Mac video upload 2019-01-24 15:23:06 +01:00
Chocobozzz 1506307f2f
Increase abuse length to 3000
And correctly handle new lines
2019-01-14 16:48:38 +01:00
Chocobozzz f8b2c1b4f5
Refractor notification service
Shorter name and use primeng component
2018-12-19 17:26:52 +01:00
Chocobozzz 65b21c961c Add ability to mute a user/instance by server in client 2018-10-16 16:41:36 +02:00
Chocobozzz af5767ffae Add user/instance block by users in the client 2018-10-16 16:41:36 +02:00
Chocobozzz 79bd2632d6
Add user moderation in the account page 2018-10-05 17:02:10 +02:00
BO41 23db998f07 remove unused imports 2018-09-22 20:11:16 +02:00
Rigel Kent 9a0fc8409c add theming via css custom properties
and a bonus dark color theme toggle
2018-09-04 23:24:34 +02:00
Chocobozzz f5b0af50c8 Search video channel handle/uri 2018-08-27 09:41:54 +02:00
Chocobozzz 22a16e36f6 Add local user subscriptions 2018-08-27 09:41:54 +02:00
Chocobozzz 8a19bee1a1 Add ability to set a name to a channel 2018-08-27 09:41:54 +02:00
Chocobozzz c7b514157b
Fix account videos URL when scrolling 2018-07-11 10:29:29 +02:00
Chocobozzz 53055a1124
Handle markdown in account/video channel pages 2018-06-18 11:19:10 +02:00
Chocobozzz bbe0f0645c
Add ability to schedule video publication 2018-06-15 18:20:56 +02:00
Chocobozzz 3baf9be283
Fix player resolution change that plays even if the video was paused 2018-06-07 14:58:41 +02:00
Chocobozzz 734a5ceb3d
Fix account/channel pages route subscription 2018-06-07 11:19:26 +02:00
Chocobozzz 25acef90a8
Fix i18n in components 2018-06-05 09:13:26 +02:00
Chocobozzz b1d40cff89
Add i18n attributes 2018-06-05 08:43:01 +02:00
Chocobozzz a51bad1acc
Add 404 page 2018-05-31 14:24:13 +02:00
Chocobozzz 0bf1f26523
Add number of videos published by an account/video channel 2018-05-30 17:37:49 +02:00
Chocobozzz 6b950ba5ee
Add host in account view 2018-05-28 11:36:28 +02:00
Chocobozzz ad9e39fb81
Only use account name in routes 2018-05-25 10:41:07 +02:00
Chocobozzz d14a9532a1
Handle account name in client url
More consistent with AP urls
2018-05-24 15:30:28 +02:00
Chocobozzz db400f447a
Upgrade to rxjs 6 2018-05-16 09:42:54 +02:00
Chocobozzz 1952a538ba
Improve responsive account about page 2018-05-09 09:23:27 +02:00
Chocobozzz 7de6afdf54
Add username near the display name for account pages 2018-04-26 16:18:01 +02:00
Chocobozzz 170726f523
Implement video channel views 2018-04-25 16:56:13 +02:00