Commit Graph

127 Commits (338633ce722c7e36aa7418ca16a406d0b7c709ae)

Author SHA1 Message Date
Chocobozzz 338633ce72
Remove barrels
They can prevent tree shaking
2024-03-05 10:52:32 +01:00
Chocobozzz 5e041ff7c2
Migrate to standalone components 2024-03-04 16:35:23 +01:00
Chocobozzz 7ee0efb57a
Add ability to set a banner to the instance 2024-02-20 11:33:10 +01:00
Chocobozzz c6d2384aa7
Fix global buttons accessibility 2023-10-12 15:01:17 +02:00
Chocobozzz bd4b321b0b
Add missing autocomplete fields 2023-10-09 09:50:59 +02:00
Chocobozzz 31a67bc620
Add placeholder to contact email input 2023-10-09 09:49:07 +02:00
Chocobozzz 55d7e361f5
Add alert role to form error messages 2023-10-06 10:19:20 +02:00
Chocobozzz 3a4992633e
Migrate server to ESM
Sorry for the very big commit that may lead to git log issues and merge
conflicts, but it's a major step forward:

 * Server can be faster at startup because imports() are async and we can
   easily lazy import big modules
 * Angular doesn't seem to support ES import (with .js extension), so we
   had to correctly organize peertube into a monorepo:
    * Use yarn workspace feature
    * Use typescript reference projects for dependencies
    * Shared projects have been moved into "packages", each one is now a
      node module (with a dedicated package.json/tsconfig.json)
    * server/tools have been moved into apps/ and is now a dedicated app
      bundled and published on NPM so users don't have to build peertube
      cli tools manually
    * server/tests have been moved into packages/ so we don't compile
      them every time we want to run the server
 * Use isolatedModule option:
   * Had to move from const enum to const
     (https://www.typescriptlang.org/docs/handbook/enums.html#objects-vs-enums)
   * Had to explictely specify "type" imports when used in decorators
 * Prefer tsx (that uses esbuild under the hood) instead of ts-node to
   load typescript files (tests with mocha or scripts):
     * To reduce test complexity as esbuild doesn't support decorator
       metadata, we only test server files that do not import server
       models
     * We still build tests files into js files for a faster CI
 * Remove unmaintained peertube CLI import script
 * Removed some barrels to speed up execution (less imports)
2023-08-11 15:02:33 +02:00
Chocobozzz d0fbc9fd0a
Fix lint 2023-05-24 15:27:15 +02:00
Chocobozzz 52798aa5f2
Update angular 2023-05-23 11:27:09 +02:00
Chocobozzz d15531fb35
Fix follow links 2023-04-14 09:42:50 +02:00
Chocobozzz c5c95361e6
Move to new documentation links 2023-02-22 16:15:14 +01:00
Wicklow 4158e67c8d Refactoring margin and padding mixins 2023-02-20 13:52:22 +01:00
Wicklow 6c3589fc51 Fix basic linter issues 2023-02-20 13:52:22 +01:00
Wicklow 178af31cb8 Change bootstrap helpers and variables 2023-02-20 13:52:22 +01:00
Wicklow 35fe58c2f8 Refactoring style for about component 2023-02-20 13:52:22 +01:00
Chocobozzz f6cf8e8d8e
Fix stats anchor link 2023-02-15 16:08:32 +01:00
Chocobozzz 789ba34931
Support mailto links for custom markup 2023-01-19 14:52:27 +01:00
Chocobozzz 1a6304ceb9
Improve instance follow display 2022-11-07 11:25:31 +01:00
Chocobozzz 5c5bcea2e6
Refactor form reactive 2022-10-07 15:26:53 +02:00
Chocobozzz c4a051712b
Cleanup title-page CSS 2022-06-16 16:16:51 +02:00
Chocobozzz 5b0ec7cddb
Increase global font size 2022-06-16 11:37:08 +02:00
Chocobozzz 4c8749cb9e
Migrate to bootstrap 5 2022-06-10 09:21:00 +02:00
kontrollanten 28c6556789
add plugin selector to about/menu elements (#4597)
* add plugin selector to about/menu elements

closes #4586

* Update plugin selector names

Co-authored-by: Chocobozzz <me@florianbigard.com>
2021-12-03 10:47:47 +01:00
Chocobozzz 8db19c959e
Remove contributors list from /about/peertube
Some contributors don't want to be associated to a particular peertube
instance
2021-11-12 11:00:51 +01:00
Chocobozzz 4beda9e12a
Add ability to view my followers 2021-10-20 09:25:44 +02:00
Ms Kimsible 4e1592daa4
Alert user for low quota and video auto-block on upload page (#4336)
* Replace wording of instance contact

* Add contact-us button to no-quota alert on upload page

* Add alert for accounts with auto-blocked videos on upload page

* Add alert for accounts without enough quota + refacto on upload page

* Using ng-container and ng-template

* Add alert for daily quota

* Add hook filter for upload page alert messages

* Add instance name as subtitle in contact modal

* Fix eslint max-len on  string

* Fix missing word in quota left daily message - upload page

Co-authored-by: Kimsible <kimsible@users.noreply.github.com>
2021-08-25 11:38:10 +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 c0e8b12e7f
Refactor requests 2021-07-20 15:27:18 +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 5c16e6bc97 Cleanup contact form with URL
Parent component still have the responsability to explicitely open the
modal
Rely on data router param to open or not the modal
2021-06-15 14:15:10 +02:00
Kimsible 089cfa6569 Fix input size of contact form on mobile view 2021-06-15 14:15:10 +02:00
Kimsible 47162a9c96 Fix CSS input displaying contact form + remove contact button underline 2021-06-15 14:15:10 +02:00
Kimsible dfca0f5fc2 Add /about/instance/contact contact-form route with prefilled queryParams subject&body 2021-06-15 14:15:10 +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
Chocobozzz 11e4090dbb
Remove unused code 2021-05-31 14:50:50 +02:00
Chocobozzz 8ee25e17b8
Add ability to set custom markdown in description 2021-05-31 11:33:49 +02:00
Chocobozzz 0f01a8bacd Remove ngx-meta
Unmaintained
2021-05-27 16:00:13 +02:00
Chocobozzz 2539932e16
Instance homepage support (#4007)
* 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
2021-05-27 15:59:55 +02:00
Chocobozzz 4076e2ef6b Increase test timeout 2021-05-07 15:42:23 +02:00
Chocobozzz 931d343018
Move to stylelint 2021-04-28 17:53:57 +02:00
Chocobozzz 266947e5ef
Refactor modal buttons style 2021-04-14 16:39:37 +02:00
Chocobozzz db8b2f56c0
Update english strings 2021-03-24 18:18:40 +01:00
Chocobozzz 9817060fb7
Use new doc website links 2021-02-12 10:12:19 +01:00
Chocobozzz fd7ca7a72c
Fix about page layout 2021-01-20 10:45:48 +01:00
Marcin Mikołajczak 1fa8740534
ui: rename inbound relationship to Follows (#3594) 2021-01-16 14:47:17 +01:00
Chocobozzz 51de2c7ff3
Update project description 2021-01-14 09:43:06 +01:00