thekno issueshttps://git.hack-hro.de/lohro/lohrothek/thekno/-/issues2019-10-21T10:29:20+02:00https://git.hack-hro.de/lohro/lohrothek/thekno/-/issues/6Add support for client data synchronization2019-10-21T10:29:20+02:00Konrad MohrfeldtAdd support for client data synchronizationIn #5 wird vorgeschlagen Daten der Nutzer_innen im Client zu speichern. Eventuell lassen sich mit diesem Modell auch Lösungen finden, wie Daten der selben Nutzer_in über verschiedene Clients hinweg, synchronisiert werden können, ohne das...In #5 wird vorgeschlagen Daten der Nutzer_innen im Client zu speichern. Eventuell lassen sich mit diesem Modell auch Lösungen finden, wie Daten der selben Nutzer_in über verschiedene Clients hinweg, synchronisiert werden können, ohne das jemals ein Server von uns diese Daten in der Hand hat.
Ein möglicher Weg hierfür scheint WebRTC zu sein. Die [rtc-quickconnect](https://www.npmjs.com/package/rtc-quickconnect) Bibliothek sieht so aus, als könnte man damit einen kleinen Versuch starten.
Alternativ bietet sich ein Weg über einen kleinen Web-Dienst an, der mit WebSockets den Austausch zwischen zwei Clients ermöglicht.https://git.hack-hro.de/lohro/lohrothek/thekno/-/issues/10Add little splash loader texts2020-07-24T16:02:39+02:00Konrad MohrfeldtAdd little splash loader textsEs wäre schön im initialen thekno-eigenen splash-screen ein paar kurze Ladetexte zu haben, die unterhalb des tanzenden thekno Schriftzugs erscheinen.
Hier eine Sammlung von Ideen:
* Stelle Gartenzwerge auf...
* Frisiere Wollmäuse...
* ...Es wäre schön im initialen thekno-eigenen splash-screen ein paar kurze Ladetexte zu haben, die unterhalb des tanzenden thekno Schriftzugs erscheinen.
Hier eine Sammlung von Ideen:
* Stelle Gartenzwerge auf...
* Frisiere Wollmäuse...
* Verprügle Nazis...
* Richte Krönchen...
* Verteile Snacks...
* Stachle Pöbel an...https://git.hack-hro.de/lohro/lohrothek/thekno/-/issues/11recordings covers not shown in media player2019-10-24T00:46:04+02:00Konrad Mohrfeldtrecordings covers not shown in media playerDas cover_image eines Beitrags wird zwar in der Beitragsvorschau angezeigt, jedoch nicht mehr, sobald dieser über den Player abgespielt wird.Das cover_image eines Beitrags wird zwar in der Beitragsvorschau angezeigt, jedoch nicht mehr, sobald dieser über den Player abgespielt wird.https://git.hack-hro.de/lohro/lohrothek/thekno/-/issues/12Migrate API Specification from RAML to OAS32020-07-08T23:29:58+02:00Philipp MarkwardtMigrate API Specification from RAML to OAS3A lot of tools just working with RAML 0.8. The Version 1.0 is released in 2015 and after 5 years it seems to stuck in support. OpenAPI3, fya swagger and released in 2018, added a lot of new [features](https://swagger.io/blog/news/whats-n...A lot of tools just working with RAML 0.8. The Version 1.0 is released in 2015 and after 5 years it seems to stuck in support. OpenAPI3, fya swagger and released in 2018, added a lot of new [features](https://swagger.io/blog/news/whats-new-in-openapi-3-0/) missed before like referencing / including. Also there is a bunch of tools, good working with CI/CD automatism.
There is a first-attempt for creating an interactive API and server-stubs and client libraries in lohro/lohrothek/recording-api> as example.MatthiasMatthiashttps://git.hack-hro.de/lohro/lohrothek/thekno/-/issues/15Adapt Example Nginx Configuration2020-07-14T01:55:22+02:00Philipp MarkwardtAdapt Example Nginx ConfigurationThe [current nginx example configuration](https://git.hack-hro.de/lohro/lohrothek/thekno/-/blob/e5258e0abb87655654db87d6f9d7e1ef4613394d/system-files/nginx-defaultsite.conf) in develop includes some parts I'm not missing in "my" ;) defau...The [current nginx example configuration](https://git.hack-hro.de/lohro/lohrothek/thekno/-/blob/e5258e0abb87655654db87d6f9d7e1ef4613394d/system-files/nginx-defaultsite.conf) in develop includes some parts I'm not missing in "my" ;) default debian nginx enviroment. But I miss the server_name parameter.
As example I would remove the map and default_site parts and add the server_name:
```
server {
listen 80;
listen [::]:80;
server_name thekno.example.org;
root /usr/share/thekno/html;
set $origin_trial "";
include /etc/nginx/snippets/thekno-spa.conf;
}
```
Im not sure about the docker-stuff, but I think it would be a good move to adapt this file running with both just changing server_name and port. Or we add a separate file just as debian default. Or I just don't get it, then I would document it :)
@kmohrf what's the deal with the 'map' in the current file?https://git.hack-hro.de/lohro/lohrothek/thekno/-/issues/17Broadcasts : Detail view2020-08-16T10:49:26+02:00MatthiasBroadcasts : Detail viewprovides more detailed information about a broadcast
these like in #16, but with additional broadcast items (linked reports/moderations) and broadcast description, if any.
Show also tags and/or categories of linked recordings or only o...provides more detailed information about a broadcast
these like in #16, but with additional broadcast items (linked reports/moderations) and broadcast description, if any.
Show also tags and/or categories of linked recordings or only on their detail page? start play option for each recording here?
API endpoint e.g.: https://thek.lohro.de/api/v1/broadcasts/1155
Note: later users with roles should be rendered here too, such as: host, news, editor, chief editor,... (API endpoint needs to be extended)https://git.hack-hro.de/lohro/lohrothek/thekno/-/issues/18Canonial URLs2020-09-07T22:50:41+02:00MatthiasCanonial URLsWould be great to have canonial URLs by default without fragments (#) for sharing in social networks, chats etc.
* Main page: https://thekno.dev.lohro.de/#series=1&recent_recordings=1
* Report detail view: https://thekno.dev.lohro.de/...Would be great to have canonial URLs by default without fragments (#) for sharing in social networks, chats etc.
* Main page: https://thekno.dev.lohro.de/#series=1&recent_recordings=1
* Report detail view: https://thekno.dev.lohro.de/recordings/280#similar_recordings=1Marvin DaviedsMarvin Daviedshttps://git.hack-hro.de/lohro/lohrothek/thekno/-/issues/19Report Categories Listing Page2020-07-24T18:38:13+02:00MatthiasReport Categories Listing PageWe spoke about exploration navigation for users not being familiar with the taxonomy and provide a listing page with all available report (sub) categories form the tree structure.
API endpoint e.g.
* https://thek.lohro.de/api/v1/recor...We spoke about exploration navigation for users not being familiar with the taxonomy and provide a listing page with all available report (sub) categories form the tree structure.
API endpoint e.g.
* https://thek.lohro.de/api/v1/recording-categories (complete tree from root nodes)
* https://thek.lohro.de/api/v1/recording-categories/26 (subtree of a given node)
we could also change to output only first level children of a node or root nodes, if requested, but would result in more requests from the frontend. currently LOHRO categories are defined with manageable width and depth.https://git.hack-hro.de/lohro/lohrothek/thekno/-/issues/20Recordings Snippet Rendering2020-07-24T19:11:15+02:00MatthiasRecordings Snippet RenderingOn the start page as well as search page, recording results are rendered in multicolumn style with its title and description excerpt.
On most recordings, title and description are too long to be fully rendered. Considering alternative r...On the start page as well as search page, recording results are rendered in multicolumn style with its title and description excerpt.
On most recordings, title and description are too long to be fully rendered. Considering alternative rendering? Skip description, but allow complete title rendering on multiple lines?https://git.hack-hro.de/lohro/lohrothek/thekno/-/issues/21Recording detail view : render multi tracks2020-07-24T16:21:36+02:00MatthiasRecording detail view : render multi tracksSome recordings have multiple files associated, e.g. when played with a music break in between on linear broadcasting. Currently, users are not aware of that. It would be great to render the information on the detail recording view:
Exa...Some recordings have multiple files associated, e.g. when played with a music break in between on linear broadcasting. Currently, users are not aware of that. It would be great to render the information on the detail recording view:
Example:
https://thekno.dev.lohro.de/recordings/85#similar_recordings=1
from API endpoint
https://thek.lohro.de/api/v1/recordings/85
has two parts.
Each audio file can optionally be enriched with an title and/or description for the part by editors.
When pressing the play button, currently all tracks of an recording are enqueued to the playlist. Is it useful to provide more detailed play options, such as, "play all" and "play part"?https://git.hack-hro.de/lohro/lohrothek/thekno/-/issues/22Playlist Queue2020-07-27T11:20:34+02:00MatthiasPlaylist QueueDon't get the playlist queue functionality. On multitrack recordings (e.g. https://thekno.dev.lohro.de/recordings/85), all tracks of an recording are enqueued. When starting another recording, the current playing are removed.
Is it usef...Don't get the playlist queue functionality. On multitrack recordings (e.g. https://thekno.dev.lohro.de/recordings/85), all tracks of an recording are enqueued. When starting another recording, the current playing are removed.
Is it useful to provide two buttons for playing a recording: 1) Start immediately 2) Enqueue to playlist? What on 1)? Track(s) are prepended to playlist, 2) tracks are appended?https://git.hack-hro.de/lohro/lohrothek/thekno/-/issues/23Tag rendering2020-07-24T18:22:25+02:00MatthiasTag renderingIs it possible to render name instead of slugs at trending tags (API https://thek.lohro.de/api/v1/tags) and on detail report view?Is it possible to render name instead of slugs at trending tags (API https://thek.lohro.de/api/v1/tags) and on detail report view?https://git.hack-hro.de/lohro/lohrothek/thekno/-/issues/24Recording detail view: Categories2021-05-15T21:16:24+02:00MatthiasRecording detail view: CategoriesRendering of recording categories would be great. Linked to search view with recordings for that category #26
Categories of a recording are currently rendered in reverse order from leaf to root.
API endpoint e.g. https://thek.lohro.de...Rendering of recording categories would be great. Linked to search view with recordings for that category #26
Categories of a recording are currently rendered in reverse order from leaf to root.
API endpoint e.g. https://thek.lohro.de/api/v1/recordings/85https://git.hack-hro.de/lohro/lohrothek/thekno/-/issues/25Recording detail view: Creators2020-07-24T18:34:22+02:00MatthiasRecording detail view: Creatorsgive attribution to creators of an recording. two different type exist:
1) Internal creators (those with login) have a role/roles associated
2) External creators (those without login) is just a free text form optionally provided by edit...give attribution to creators of an recording. two different type exist:
1) Internal creators (those with login) have a role/roles associated
2) External creators (those without login) is just a free text form optionally provided by editors
Would be great to render interal comma separated [with role(s)], [followed by external], closing with platform suffix
Example:
Alan (Schnitt), Bob (Interview, Übersetzung), Carol, Dave (Hackspace) – via LOHRO
Alan and Bob are internals with optional roles for the recording (structured data via API), "Carol, Dave (Hackspace)" is a external creators string, "– via LOHRO" is a proposed plattform suffixhttps://git.hack-hro.de/lohro/lohrothek/thekno/-/issues/26Recording list view : by category2021-05-14T23:48:24+02:00MatthiasRecording list view : by categoryWhen navigating from category listing overview #19 or recording detail view #24 , result page with recordings of that category would be good.
API endpoint https://thek.lohro.de/api/v1/recordings?category=25When navigating from category listing overview #19 or recording detail view #24 , result page with recordings of that category would be good.
API endpoint https://thek.lohro.de/api/v1/recordings?category=25https://git.hack-hro.de/lohro/lohrothek/thekno/-/issues/27Discussion Main Page2020-07-24T18:42:41+02:00MatthiasDiscussion Main PageWe spoke about to rearrange the main page. Memories/suggestions in that ticket.
Moving broadcast series from main page to seperate page linked in menu?
Add broadcast list of current day to main page? with link to browsable day program...We spoke about to rearrange the main page. Memories/suggestions in that ticket.
Moving broadcast series from main page to seperate page linked in menu?
Add broadcast list of current day to main page? with link to browsable day program #16 or as a complete widget on main page only?https://git.hack-hro.de/lohro/lohrothek/thekno/-/issues/28Recording detail view : Broadcasts2020-07-24T19:01:19+02:00MatthiasRecording detail view : Broadcastslist (rerun) broadcasts when the recording was/will be aired. linked to broadcast detail view #17
suggested information:
* broadcast title (if set) and broadcast series title
* date
* when exact air time is provided, display that. ...list (rerun) broadcasts when the recording was/will be aired. linked to broadcast detail view #17
suggested information:
* broadcast title (if set) and broadcast series title
* date
* when exact air time is provided, display that. otherwise range of broadcast with start + end time
https://thek.lohro.de/api/v1/recordings/85https://git.hack-hro.de/lohro/lohrothek/thekno/-/issues/30Add 'jq' Dependency for thekno-chameleon2020-07-27T01:16:07+02:00Philipp MarkwardtAdd 'jq' Dependency for thekno-chameleonThe configuration script 'thekno-chameleon' uses jq, but it's not installed as dependency by default. We should add it.The configuration script 'thekno-chameleon' uses jq, but it's not installed as dependency by default. We should add it.https://git.hack-hro.de/lohro/lohrothek/thekno/-/issues/32Disable Caching in NGINX Default Config2020-08-19T09:45:56+02:00Philipp MarkwardtDisable Caching in NGINX Default ConfigCurrently a manual full reload is needed if thekno is updated. We should disable caching for some files.Currently a manual full reload is needed if thekno is updated. We should disable caching for some files.https://git.hack-hro.de/lohro/lohrothek/thekno/-/issues/33Building DEB failed without pipeline error2022-09-21T14:03:36+02:00Philipp MarkwardtBuilding DEB failed without pipeline errorI was irritated about missing files in the develop instance;
```
root@dev-thekno:/usr/share/thekno/html# dpkg -L thekno
/.
/etc
/etc/nginx
/etc/nginx/snippets
/etc/nginx/snippets/thekno-spa.conf
/usr
/usr/share
/usr/share/doc
/usr/share...I was irritated about missing files in the develop instance;
```
root@dev-thekno:/usr/share/thekno/html# dpkg -L thekno
/.
/etc
/etc/nginx
/etc/nginx/snippets
/etc/nginx/snippets/thekno-spa.conf
/usr
/usr/share
/usr/share/doc
/usr/share/doc/thekno
/usr/share/doc/thekno/README.md.gz
/usr/share/doc/thekno/changelog.Debian.gz
/usr/share/doc/thekno/copyright
/usr/share/doc/thekno/environment-configuration.md.gz
/usr/share/doc/thekno/examples
/usr/share/doc/thekno/examples/nginx-defaultsite.conf
/usr/share/doc/thekno/examples/thekno-env.json
/usr/share/thekno
/usr/share/thekno/html
/usr/share/thekno/html/legacy-report.html
root@dev-thekno:/usr/share/thekno/html#
```
First I supposed an error in the CI, so I triggered a some branches a bit.
Since 014bca194ef673fe3008a56a9da85a0e910e55b3 the generated DEB Packages are missing most of the files. See https://git.hack-hro.de/lohro/lohrothek/thekno/-/jobs/4354#L211. I copied a large part below.
@kmohrf: I think the job should fail in this cases, but he ended successfully. Is there an option to fail and exit in this cases?
@marvindv: You should fix this source of error :) See #34
```
node_modules/.bin/raml2html --validate --theme "raml2html-werk-theme" -o "build/docs/content-api.html" --no-bundle-assets "docs/apis/content-api.raml"
npm WARN npm npm does not support Node.js v10.15.2
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.
npm WARN npm You can find the latest version at https://nodejs.org/
> thekno@1.1.1 build /builds/lohro/lohrothek/thekno
> VUE_APP_VERSION=$(git describe --tags 2>/dev/null || git rev-parse --short HEAD) vue-cli-service build --modern --report
- Building legacy bundle for production...
mkdir -p "build/docs/"
node_modules/.bin/raml2html --validate --theme "raml2html-werk-theme" -o "build/docs/track-service-api.html" --no-bundle-assets "docs/apis/track-service-api.raml"
Browserslist: caniuse-lite is outdated. Please run next command `npm update`
Browserslist: caniuse-lite is outdated. Please run next command `npm update`
ERROR Failed to compile with 1 errors10:12:01 PM
error in ./src/components/BroadcastsDay.vue
Module Error (from ./node_modules/eslint-loader/index.js):
error: Unexpected console statement (no-console) at src/components/BroadcastsDay.vue:133:11:
131 | this.hasError = false
132 | } catch (err) {
> 133 | console.error(err)
| ^
134 | this.hasError = true
135 | } finally {
136 | this.isLoading = false
1 error found.
@ ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/HomePage.vue?vue&type=script&lang=js& 77:0-56 86:19-32
@ ./src/views/HomePage.vue?vue&type=script&lang=js&
@ ./src/views/HomePage.vue
@ ./src/router.js
@ ./src/main.js
@ multi ./src/main.js
Error parsing bundle asset "/builds/lohro/lohrothek/thekno/build/dist/js/about-legacy.9c454a70.js": no such file
Error parsing bundle asset "/builds/lohro/lohrothek/thekno/build/dist/js/app-legacy.5acc04a1.js": no such file
Error parsing bundle asset "/builds/lohro/lohrothek/thekno/build/dist/js/chunk-2d21d15f-legacy.0aa837ef.js": no such file
Error parsing bundle asset "/builds/lohro/lohrothek/thekno/build/dist/js/chunk-vendors-legacy.56fd175c.js": no such file
Error parsing bundle asset "/builds/lohro/lohrothek/thekno/build/dist/js/home-legacy.d278f63a.js": no such file
Error parsing bundle asset "/builds/lohro/lohrothek/thekno/build/dist/js/profile-legacy.864f2209.js": no such file
Error parsing bundle asset "/builds/lohro/lohrothek/thekno/build/dist/js/queue-legacy.11f57064.js": no such file
Error parsing bundle asset "/builds/lohro/lohrothek/thekno/build/dist/js/recording-legacy.98a0dfa5.js": no such file
Error parsing bundle asset "/builds/lohro/lohrothek/thekno/build/dist/js/search-legacy.21443648.js": no such file
Error parsing bundle asset "/builds/lohro/lohrothek/thekno/build/dist/js/series-legacy.14750c29.js": no such file
No bundles were parsed. Analyzer will show only original module sizes from stats file.
ERROR Build failed with errors.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! thekno@1.1.1 build: `VUE_APP_VERSION=$(git describe --tags 2>/dev/null || git rev-parse --short HEAD) vue-cli-service build --modern --report`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the thekno@1.1.1 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-08-18T22_12_01_779Z-debug.log
(cd "build/dist" && find -type f) | while read -r asset; do \
install -D "build/dist/$asset" "/builds/lohro/lohrothek/thekno/debian/thekno/usr/share/thekno/html/$asset"; \
done
make[3]: Nothing to be done for 'install'.
make[3]: Leaving directory '/builds/lohro/lohrothek/thekno'
make[2]: Leaving directory '/builds/lohro/lohrothek/thekno'
```