Commit Graph

5394 Commits

Author SHA1 Message Date
Kim dfe3f7b72e
Add alert and hide upload view when no upload is possible (#2966)
* 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>
2020-07-28 15:18:38 +02:00
Jinn Koriech 0579dee3b2
Switch examples to curl since httpie has a 512MB limit (#3012)
Co-authored-by: Rigel Kent <par@rigelk.eu>
2020-07-28 13:48:55 +02:00
Kim a949f67636
correct regressions on sub-menu for account and admin (#3004) 2020-07-24 23:29:39 +02:00
Kim 2e7f262724
Display user quota progress bars above upload form (#2981)
* Move user-quota to my-user-quota shared component

* Add user-quota to upload form

* Increase progress bar height and make it focusable

* Correct syntax parenthesis

* Add explicit title to user-quota bars + tooltip with quota values

* Hide user-quota in second upload step

* Customize focus styles on user-quota

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-07-24 08:53:25 +02:00
Kim b40a219338
Hide generic channel display name and avatar on watch view (#2988)
* Hide generic channel display name on watch view

* Hide generic channel avatar on watch view

* Add Default username channel as a generic channel display-name

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-07-24 08:49:59 +02:00
Rigel Kent e13d7ae45c
fix position for sub-menus with actor
fixes ed5bb51726
2020-07-23 21:32:28 +02:00
Rigel Kent 2e2e4cf426
separate menu options from their values, remove their chevron 2020-07-23 15:44:32 +02:00
Chocobozzz f4a2dc5092
Fix compilation 2020-07-23 15:35:18 +02:00
Kim ed5bb51726
Improve navigation sub-menu and tabs effects (#2971)
* Improve nav border and colors on active and non-active

* Remove margin-top effect on active nav

* Use opacity / bold instead of color change on nav

* Remove dropdown items label in sub-menu and add a class active

* Position sub-menu to fixed

* Autoclose dropdown sub-menu only on outside click

* Remove open dropdown on hover in sub-menu

* Show reusable h1 for dropdown item in sub-menu

* Put reusable sub-menu h1 styles to mixins

* Add icons to sub-menu dropdown-item h1

* Make all the sub-menu accessible with focus

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-07-23 15:09:15 +02:00
Kim 345b4a22a8
Update my-account sub-menus icons (#2977)
* Update user sub-menus icons

* Update admin sub-menu icons

* Add solendp to credits

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-07-23 14:42:06 +02:00
kimsible 8110705d02 Fix: disable vertical scroll instead of hide on desktop browsers 2020-07-23 14:32:04 +02:00
Chocobozzz 2291a412d2
Merge branch 'release/2.3.0' into develop 2020-07-21 11:16:28 +02:00
Chocobozzz 97aaeadad5
Bumped to version v2.3.0 2020-07-21 10:03:58 +02:00
Chocobozzz 99d031a2ab
Update changelog 2020-07-21 10:02:51 +02:00
Chocobozzz 73f07d387e
Update changelog 2020-07-21 09:59:36 +02:00
Chocobozzz 2e03d65032
Fix E2E tests 2020-07-21 09:38:26 +02:00
Chocobozzz d28d13581f
Fix embed p2p warning localization 2020-07-20 17:05:08 +02:00
Chocobozzz ec903c010e
Merge branch 'release/2.3.0' into develop 2020-07-20 17:00:58 +02:00
kimsible 2170f1db6e Fix accessibility action buttons and display on imports and followers list 2020-07-20 17:00:28 +02:00
kimsible 2821595787 Correct missing test in user-edit template 2020-07-20 16:58:09 +02:00
kimsible cd801c6907 Correct action button selection mode styles 2020-07-20 16:57:47 +02:00
kimsible b5366b3c7e Correct maximized icon padding since new icons set implemented 2020-07-20 16:56:59 +02:00
kimsible 963023abe6 Fix: display username in password-reset and verify-email notifs 2020-07-20 16:56:32 +02:00
Chocobozzz 0bdad52fbb
Fix issues with external links in search page 2020-07-20 11:37:06 +02:00
Chocobozzz 69a019968e
Fallback to built in HLS if possible 2020-07-20 10:13:56 +02:00
Chocobozzz 677ea3c084
Relax migrations 2020-07-11 08:58:06 +02:00
Chocobozzz 17aa80ed01
Merge branch 'release/2.3.0' into develop 2020-07-10 15:23:31 +02:00
Chocobozzz 1dee8d68cb
Fix video import tests 2020-07-10 14:56:17 +02:00
Chocobozzz 1878224214
Handle webp images from youtube-dl 2020-07-10 14:54:11 +02:00
Chocobozzz e3489df98e Update openapi 2020-07-10 14:02:41 +02:00
Chocobozzz 17b07dc5a2 Update contributing guide 2020-07-10 14:02:41 +02:00
Chocobozzz cfde28bac3 Add ability to report account 2020-07-10 14:02:41 +02:00
Chocobozzz 8ca56654a1 Add ability to report comments in front end 2020-07-10 14:02:41 +02:00
Chocobozzz 310b5219b3 Add new abuses tests 2020-07-10 14:02:41 +02:00
Chocobozzz 811cef146c Use raw sql for abuses 2020-07-10 14:02:41 +02:00
Chocobozzz 4f32032fed Add migrations 2020-07-10 14:02:41 +02:00
Chocobozzz 57f6896f67 Implement abuses check params 2020-07-10 14:02:41 +02:00
Chocobozzz d95d155988 Use 3 tables to represent abuses 2020-07-10 14:02:41 +02:00
Chocobozzz 72493e44e9
Fix embed url 2020-07-10 11:13:41 +02:00
Chocobozzz 1fdf8edb77
Fix lint 2020-07-10 10:51:07 +02:00
chocobozzz a42a3d34a1 Translated using Weblate (Chinese (Traditional))
Currently translated at 99.1% (1424 of 1436 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/zh_Hant/
2020-07-10 10:36:44 +02:00
chocobozzz b13186e3a7 Translated using Weblate (Russian)
Currently translated at 69.2% (994 of 1436 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/ru/
2020-07-10 10:30:15 +02:00
Filip Bengtsson c1b4805be1 Translated using Weblate (Swedish)
Currently translated at 97.6% (1402 of 1436 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/sv/
2020-07-10 10:20:16 +02:00
NorbiPeti d567632952 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1436 of 1436 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/hu/
2020-07-10 10:20:16 +02:00
Iñigo A 5c48bf7f54 Translated using Weblate (Spanish)
Currently translated at 100.0% (234 of 234 strings)

Translation: PeerTube/server
Translate-URL: https://weblate.framasoft.org/projects/peertube/server/es/
2020-07-10 10:20:16 +02:00
Filip Bengtsson 07f2a57635 Translated using Weblate (Swedish)
Currently translated at 97.5% (1401 of 1436 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/sv/
2020-07-10 10:20:16 +02:00
Iñigo A 7e2f5695a1 Translated using Weblate (Spanish)
Currently translated at 100.0% (1436 of 1436 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/es/
2020-07-10 10:20:16 +02:00
Iñigo A 1d11a805d2 Translated using Weblate (Spanish)
Currently translated at 100.0% (1436 of 1436 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/es/
2020-07-10 10:20:16 +02:00
Berto Te 87fef5bb54 Translated using Weblate (Spanish)
Currently translated at 100.0% (1436 of 1436 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/es/
2020-07-10 10:20:16 +02:00
Phongpanot a23062fe78 Translated using Weblate (Thai)
Currently translated at 77.5% (76 of 98 strings)

Translation: PeerTube/player
Translate-URL: https://weblate.framasoft.org/projects/peertube/player/th/
2020-07-10 10:20:16 +02:00