Commit Graph

21 Commits

Author SHA1 Message Date
Chocobozzz 9df52d660f
Migrate client to eslint 2021-08-18 08:35:06 +02:00
Chocobozzz 05ded92ed1 Update to angular 12 2021-05-27 16:00:13 +02:00
Chocobozzz a247950351 Add @angular/localize 2020-02-10 16:39:28 +01:00
Chocobozzz 576ddf645f
Update client dependencies 2019-10-21 16:53:46 +02:00
Chocobozzz f36da21e40
Update angular 2019-07-25 11:00:43 +02:00
Chocobozzz c47106315a
tslint update 2019-04-02 18:30:26 +02:00
Rigel Kent 5e755fff9d add Content Security Policy (#1252)
* add Content Security Policy

* remove reflect-metadata on production builds to get rid of unsafe-eval

* fix baseCSP usage

* add SRI to CSP

* add blob: to media-src

* remove SRI

* CSP set to reportOnly

* adding data: to connect-src CSP

* remove block-all-mixed-content

* add report-uri support
2018-12-13 09:49:45 +01:00
BO41 03ca23d4f7
update angular 2018-11-15 09:25:30 +01:00
BO41 244b4ae397 NoImplicitAny flag true (#1157)
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
2018-10-18 09:08:59 +02:00
William Lahti 3ea9a1c311 Replace angular-cli patch with something less risky (#742)
* Replace angular-cli patch with something less risky

* path.join() is needed, provide a naive implementation

* technically, webpack provided a polyfill for Buffer, we should too

* process polyfill matches webpack; peertube depends on nextTick

* polyfill for path to match webpack

* http/https polyfills as per webpack
2018-06-28 15:53:04 +02:00
Chocobozzz 8be1afa12b
Add ability to embed a video in Twitter
The instance should be whitelisted first
2018-05-11 08:48:20 +02:00
Chocobozzz fed9515572
Disable service worker 2018-02-26 11:44:54 +01:00
Chocobozzz 72680feb34
Don't zone.js patch on requestAnimationFrame 2018-02-23 15:49:16 +01:00
Chocobozzz ecb4e35f4e
Add ability to reset our password 2018-01-30 13:27:07 +01:00
Chocobozzz b682782093
Upgrade to angular 5 2017-12-12 13:58:03 +01:00
Chocobozzz 63c4db6d71
Move to angular cli 2017-12-12 10:58:16 +01:00
Chocobozzz c16ce1de8e Client: add basic aot support 2017-01-13 12:16:00 +01:00
Chocobozzz ab32b0fc80 Dirty update to Angular RC6 2016-09-06 22:40:57 +02:00
Chocobozzz a64668c024 Client: try to make it work with Android Firefox 2016-07-19 16:45:07 +02:00
Chocobozzz b20b5fed40 Add production webpack, big thanks to @AngularClass 2016-06-03 22:47:55 +02:00
Chocobozzz 4a6995be18 First draft to use webpack instead of systemjs 2016-06-03 22:08:03 +02:00