Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Angular upgrade to v16 (hobbyfarm#183)
* Migrate from deprecated tslint to eslint * Temporarily delete conflict causing packages * Update Angular from v12 to v13 * Update rxjs to v7.4.0 * Update ngx-markdown and ngx-dynamic-hooks * replace deprecated "toPromise()" function * Use observer object in deprecated subscriptions * Use factory function in throwError * Fix typo * Start interface(s) with capital letter * Improve typings * Use ngx-markdown compile instead of markdown pipe Markdown pipe now returns SafeHTML but ngx-dynamic-hooks expects string * Update angular-jwt library to latest version * Add TODO for breaking change in clarity v15 * Angular v13 -> v14 (typing forms etc. ...) * Update ngx-markdown to v14 * Fix breaking change in JWT Config * Remove unused imports * Improve typings * Bug fix: Make FormControls non-nullable * Convert FormControls to non-nullable * Temporarily uninstall conflicting dependency * Update from Angular v14 to v15 * Update clarity to v15 * Update clarity core library to support Angular 15 * Update Angular v15 to v16 * Update ngx-markdown to v16 * Remove unused two-way-binding * Upgrade @cds/core to latest version * Replace deprecated clr-icons by cds-icons * Update clarity ui to v16 * delete package-lock.json * Fixing compiler errors * Replace deprecated sidenav. Package updates * Use structuredClone() to clone Objects * Fix alerts * Remove unused methods etc. in course component * introduce default navigation to config tab(s) * Expand active events per default * Add resources to Resource type (scopes and settings) * Add typings for app config * Some refactoring * oops... readd ng2-dragula * remove unused code * Make category form nullable. Category form can become null during runtime. Hence let's make it nullable during compile time, too. * resize login form * Use take(1) instead of first() to prevent EmptyErrors If the observable does not emit any value and completes directly, using first() results in an error. Using take(1) generally does the same as first() but with a minor difference. take(1) mirrors the empty source observable in case it is empty and then also completes instead of throwing an error as first() does. * get/list observables should always complete automatically * Fix date pipe error * Use rxjs instead of timeouts to close alerts after delay * Make alerts closeable Otherwise the alerts cannot be closed via two-way-binding... * replace deprecated rxjs function * Move wizardpage subscription into AfterViewInit Advantages: ngAfterViewInit is only called once. So, we only need to manage one subscription. * remove console.log * Wizard with missing pages is not supported -> fix this * Only show active events in dashboard tab * only show active events in dashboard component * run prettier
- Loading branch information