Commit Graph

49 Commits

Author SHA1 Message Date
Chocobozzz d92d070c91
Split user service 2022-01-21 11:03:25 +01:00
Chocobozzz 071f3e519c
Plugins can add custom instance infobox 2022-01-20 09:35:06 +01:00
Chocobozzz bd898dd76b
Add message if registration is disabled 2021-10-29 11:16:36 +02:00
Ms Kimsible 94b13cf4b3 Add account setup message to welcome alert after signup 2021-08-30 09:24:36 +02:00
Chocobozzz 9df52d660f
Migrate client to eslint 2021-08-18 08:35:06 +02:00
Chocobozzz 1378c0d343
Fix client lint 2021-08-17 14:01:45 +02:00
Chocobozzz 8cbc40b2fe
Move to sass module 2021-06-28 10:54:02 +02:00
Chocobozzz fa12eacc01
Move to sass @use 2021-06-28 09:36:35 +02:00
Chocobozzz 27bc958674
Bidi support 2021-06-07 18:14:05 +02:00
Chocobozzz 2989628b79
Use HTML config when possible 2021-06-04 15:45:44 +02:00
Poslovitch 1f256e7d3c
Implemented configurable minimum signup age
Implements https://github.com/Chocobozzz/PeerTube/issues/3612

Fixed lint and removed debug

Fixed another lint error

Apply suggestions from code review

Co-authored-by: Chocobozzz <chocobozzz@cpy.re>

Add tests for min signup age config
2021-05-28 13:56:05 +02:00
Chocobozzz 0f01a8bacd Remove ngx-meta
Unmaintained
2021-05-27 16:00:13 +02:00
Chocobozzz 931d343018
Move to stylelint 2021-04-28 17:53:57 +02:00
Chocobozzz 9817060fb7
Use new doc website links 2021-02-12 10:12:19 +01:00
Chocobozzz 1916c9663a
Fix some accessibility issues 2020-12-22 12:05:32 +01:00
Rigel Kent e0fea785bf
add previous button to registration form, with alignment 2020-12-09 13:20:58 +01:00
Kimsible 40360c17d8
improvements to login and sign-up pages (#3357)
* New login form ui
* Move InstanceAboutAccordion to shared components
* Update closed registration alert text
* Add alert for opened registration and move them bellow login form
* Adjust flex block on signup and login views
* Replace toggle accordion with expand on links in signup and login + scrollTo
* Improve display of login alerts
* Fix missing Component suffix
* Define min-width instance-information block sign-up and login for mobile screens
* Add ability to select specific panels in instanceAboutAccorddion
* Add instance title and short-description to common instanceAboutAccordion
* Clarify title alert in login page
* Add step terms for signup

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
Co-authored-by: Rigel Kent <sendmemail@rigelk.eu>
2020-12-07 16:34:07 +01:00
Rigel Kent f8b530e0a5
unify inputs requiring buttons like password inputs 2020-12-04 16:01:53 +01:00
kontrollanten 09c55770bc register: hide channel step if upload quota is 0
fix #782
2020-12-03 09:54:41 +01:00
test2a 832a12b0e8
adjust registration form width on mobile (#3274)
Co-authored-by: Rigel Kent <sendmemail@rigelk.eu>
2020-11-25 15:57:10 +01:00
Rigel Kent dc5bb5cea5
reword unclear sentences, check for grammar
fixes #3222
2020-11-12 21:09:28 +01:00
Chocobozzz 7ed1edbbe4 We don't need services anymore for validators 2020-08-17 15:12:55 +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 67ed6552b8 Reorganize client shared modules 2020-06-23 16:00:49 +02:00
Caroline Chuong 1bab226f5c Add explicit step and aria-current attribute in register form 2020-06-10 17:38:00 +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
Rigel Kent 25a42e293b Fix rowsPerPage change, add filter clear button, update video-abuse-list search query param dynamically 2020-05-04 15:01:44 +02:00
Rigel Kent 0d3a2982a9 Switching to a named filters/single input on video-abuse 2020-05-04 15:01:44 +02:00
Rigel Kent a6d5ff7604
Use form-control to display box-shadow on form inputs/selects upon focus 2020-04-02 11:39:14 +02:00
Rigel Kent ece3029bd9
Media queries to use variables when possible 2020-02-13 16:34:16 +01:00
Rigel Kent cbdbdae05e
Rephrase account/channel signup description 2020-02-03 18:14:31 +01:00
DontUseGithub 1bd4d4eb18 text rewording (2)
>  The channel name is a unique identifier of your channel on this and all the other instances.

this is true if we consider "cats@domain.com" as "a channel". If by "a channel" you only mean "cats" then the text needs to be changed to something like:

> The channel name is a unique identifier of your channel on this instance. Together with the domain name - it becomes unique across all instances.

In any case, English native speakers I'm open to suggestions on how to improve this :)
2020-02-03 16:09:44 +01:00
DontUseGithub ebd8ff6457 text rewording
>  The username is a unique identifier of your account on this and all the other instances.

this is true if we consider "john@domain.com" as "an account". If by "an account" you only mean "john" then the text needs to be changed to something like:

> The username is a unique identifier of your account on this instances. Together with the domain name - it becomes unique across all instances.

In any case, English native speakers I'm open to suggestions on how to improve this :)
2020-02-03 15:47:36 +01:00
Rigel Kent 7738273b80 Accessibility fixes for #2149 2020-01-21 10:08:10 +01:00
Chocobozzz ba430d7516
Lazy load static objects 2019-12-18 15:40:59 +01:00
Chocobozzz 0912f1b4ca
Fix build 2019-12-06 08:45:51 +01:00
Rigel Kent ba7b7e572f (plugins) adding signup scope and init hook, modifying ensureUserRegistrationAllowed allowedParams 2019-11-25 11:16:12 +01:00
Filip Bengtsson 34398be429 Some language fixes (#2198)
* Fix preposition

* Fix French colon spacing

* Some grammar fixes

* Preposition fix

* Update signup-success.component.html

After suggestion from @frankstrater.
2019-10-23 14:39:09 +02:00
Chocobozzz 1cd4fe501d
Fix i18n generation script 2019-10-22 10:30:09 +02:00
Chocobozzz 2e0fdd27e0
Add missing translation tags 2019-09-18 15:52:54 +02:00
Chocobozzz 00aab0666c
Merge branch 'release/1.4.0' into develop 2019-09-05 10:19:35 +02:00
Chocobozzz 421d935d25 Add about information in registration page 2019-09-05 10:17:02 +02:00
Chocobozzz 5eb9bde8aa
Rename signup steps 2019-09-04 15:08:56 +02:00
Chocobozzz 03652b3179
Use ::ng-deep instead of /deep/ 2019-07-25 11:00:43 +02:00
Chocobozzz d1ea2a988d
Fix signup email verification 2019-06-20 17:25:53 +02:00
Chocobozzz 0ba5f5baad
Add ability to change email in client 2019-06-11 14:31:12 +02:00
Chocobozzz 1f20622f2b
Improve registration
* Add ability to set the user display name
 * Use display name to guess the username/channel name
 * Add explanations about what is the purpose of a username/channel name
 * Add a loader at the "done" step
2019-06-07 17:05:42 +02:00
Chocobozzz b247a13270
Add success icon on registration 2019-05-29 14:39:49 +02:00