Commit Graph

161 Commits

Author SHA1 Message Date
e412f699f7 integrate automatic token refresh if current one is invalid
--> load login page if token can't be refreshed
2021-03-16 20:13:12 +01:00
e4990bd24e fix not deletable video if a actor is defined
fix wrongly displaying icon if no one exists --> new icon
2021-03-14 16:56:26 +01:00
1fc67365f0 use eslint to lint project
drop code quality job
2021-03-14 14:51:53 +00:00
059b0af6e7 fix incorrect gui refresh if theme is changed
implement custom clientstore
add new Password page
if password is set force entering password to successfully receive the token
add a new unsafe api call for init call only
2021-03-14 12:49:24 +00:00
c24c2ac2d8 add secure requests with tokens.
generate new token on every new page load
2021-03-09 12:56:53 +00:00
db0edf7a80 outsource filterbutton to new file
make addtag popup filterable
2021-03-08 14:11:26 +00:00
488354bc28 fix lukas/openmediacenter#64 2021-03-07 19:49:40 +01:00
f2b5fb6587 implement full load of videos and startdata
modify api where necessary
2021-02-23 16:01:29 +00:00
3c32356227 improve insertion of reindex messages -- prevent empty string lines and add key prop to every new line 2021-02-06 22:18:48 +00:00
46aeda73d8 Merge branch 'api_call_enum' into 'master'
add API node type instead of always use string to define api node

See merge request lukas/openmediacenter!33
2021-01-29 22:15:17 +00:00
b6ab359a37 add API node type instead of always use string to define api node 2021-01-29 22:15:17 +00:00
e825f94028 fix #54 2021-01-29 21:39:19 +01:00
fa21ba4f25 bind enter events as a submit to Popups
add s as key to submit a reshuffle in shuffled videos
2021-01-28 19:50:26 +00:00
ac126f6a9d make tags deleteable
seperate sidebar for each different category page
2021-01-26 19:14:57 +00:00
d8aee9e5b7 reformat code 2021-01-24 16:43:38 +01:00
6c7cc11038 typescriptify Popupbase
focus textfield on filterclick
2021-01-22 21:05:21 +00:00
0c3f9204bc keep persistent api - databse namings in tests (fixes tests) 2021-01-06 17:53:57 +01:00
4ca590639d add a filter option to the addactor popup page 2021-01-03 21:58:55 +01:00
80a04456e6 fix some tests
fix merge issues
2020-12-29 19:39:30 +00:00
7d696122fa build electron app
implement new fetch api calls
use typescript
2020-12-17 20:53:22 +00:00
c5d231d9f2 add style for actor tiles
render actors got from backend
backend test code to get actors
2020-12-11 18:23:13 +00:00
2d8bb06852 update all but react-scripts (wrong execution of unit tests so they are failing)
fix failing tests because of missing implementation of mount() in enzyme for react 17
2020-11-27 22:43:12 +00:00
7fbc7e98c9 improved coloring of videoaction buttons on player page 2020-11-20 21:31:07 +01:00
bbb36606e1 print settings info as a footer on bottom of settings page
fix display of scrollbar on settingspage
2020-11-13 22:52:38 +00:00
0eb9167deb fix typo and fullfill naming conventions 2020-11-04 23:52:22 +01:00
777cc2a712 reformattings
no redirect on tagclick on homepage
no multiple add of same tag possible
2020-10-25 18:48:23 +00:00
5b6b1e3473 improved reindexing to reindex in background
new button to cleanup gravity
2020-10-21 19:14:45 +00:00
28f3d6db70 use flexbox to wrap settings tiles correctly
new icon for different tags
ignore test files in codeclimate test
2020-10-19 21:12:07 +00:00
76f879a0f2 add drag and drop support for addtagpopup
esc closes the popup
theme style is used
2020-10-09 14:00:51 +00:00
6076512dd0 fix bug of not cleaning up gravity correctly 2020-10-06 01:26:26 +02:00
13a980f161 add a delete button to delete a video 2020-10-03 07:06:27 +00:00
8f88aa3c02 only load non assigned tags
fix custom onClick events
2020-09-26 18:43:30 +00:00
e5ef1f94a4 non selectable text
tags side by side
load 16 videopreviews instead of 12 for huge monitor sizes
2020-08-30 22:01:54 +00:00
1de36afb69 new folder structure for php scripts
renamed api nodes
php braces on same line
2020-08-12 17:50:25 +00:00
e14d485a07 Merge branch 'master' into csstheming
# Conflicts:
#	src/elements/PageTitle/PageTitle.module.css
#	src/elements/Preview/Preview.module.css
#	src/elements/SideBar/SideBar.module.css
#	src/index.css
#	src/pages/Player/Player.js
#	src/pages/Player/Player.module.css
#	src/pages/SettingsPage/SettingsPage.module.css
2020-08-05 22:55:03 +02:00
f87c02c276 correct naming of Generalinfos and added tests 2020-08-05 22:00:55 +02:00
f80554bfdd correct sort order of css properties
mocking of fetch api only once in setupTests
2020-08-05 17:55:51 +00:00
5970e4d19e Merge branch 'master' into 'csstheming'
# Conflicts:
#   src/App.js
2020-08-04 14:55:02 +00:00
987ae7fb8e correct theming of settings page
fix saving of themestyle to db
2020-08-04 18:53:11 +02:00
747f3005c8 easier getter function to get themestyle
better dark theme for SideBar.js
2020-08-03 23:31:43 +00:00
8bea726e98 theming of previews and sidebar 2020-08-03 18:38:22 +00:00
226f718348 delete index.css 2020-08-02 18:05:07 +00:00
ad1c4b221d fix failing tests (classname wrong) 2020-08-02 17:55:06 +00:00
827fd6a1b2 reformat and store darkmode setting correct in db 2020-07-29 23:00:37 +02:00
8c4b1a836a new database entry for theme
new settings switcher
2020-07-28 18:17:17 +02:00
0ec4954ec5 correct theme style at settings page 2020-07-27 21:14:56 +02:00
aa741c5a90 only two style files 2020-07-26 18:17:29 +02:00
d3c3ee3044 tab title depends on mediacenter name 2020-07-26 14:27:56 +02:00
a3b63618b4 add seperate modules for dark and light theme 2020-07-24 22:47:21 +02:00
1eddddcbac fixing lukas/openmediacenter#25
shuffle button always on same position now
2020-07-22 19:00:55 +02:00
ca499fed99 Merge branch 'SettingsPage' into 'master'
Settings page

See merge request lukas/openmediacenter!6
2020-07-17 21:14:56 +00:00
1d9cf31f13 add option to enable disable the tmdb support 2020-07-18 01:10:04 +02:00
8b89db6d5c fixing failing test 2020-07-16 19:13:54 +02:00
b9b9ac0bc2 new class Ssettings to get videopath from db
add test - failing
remove useless videopath and tvpath from app.js
2020-07-15 20:08:22 +02:00
5662a6e6e5 add initial fetch of generalsettings on appstart to get password support and mediacentername 2020-07-13 22:56:43 +02:00
537d869338 added several tests to generalsettings view 2020-07-13 00:44:16 +02:00
24dac2135c add test to test savesettings 2020-07-12 13:12:13 +02:00
7954af888d save settings correctly to db and parse response from insertion 2020-07-10 19:13:40 +02:00
133851fe0d added php code to get settings from database to react state
add onchange events to change state on field change
2020-07-10 01:18:23 +02:00
75ae0d7d8b use css modules
add a mediacenter-name field
use state for reindex-btn greyout
2020-07-08 19:33:23 +02:00
720c218a11 moved all css files to module files to seperate into namespaces and prevent name overlaps 2020-07-08 00:14:08 +02:00
24a29369b4 enable/disable start reindex btn 2020-07-07 19:21:14 +02:00
9ce867c6c8 added some todos and css to video reindex 2020-07-04 00:45:18 +02:00
3b1d85824f new fields in general settings
and test for password switcher
2020-07-03 00:20:11 +02:00
08c2567551 add a css file for general SettingsPage.js
add a basic form for videopath
2020-06-29 21:34:43 +02:00
791f2327e1 added some tests and rounder buttons of settings items 2020-06-29 19:55:40 +02:00
fdfb36bcd2 new settingspage sidebar with general and moviesettings 2020-06-25 22:43:26 +02:00
a6f6b2d96f correct behaviour on category page on tag click 2020-06-24 22:47:46 +02:00
753ea99693 correct load of categorypage on tag click
improved failing tests
2020-06-24 21:47:22 +02:00
e640b36ce4 add test for homepage 2020-06-23 22:46:50 +02:00
4ac21506f3 edited tests for no fail and added new Tag test 2020-06-23 23:13:14 +02:00
89153b5da9 improved tag clicking events 2020-06-21 23:08:46 +02:00
18ce670836 Merge branch 'SeperateTitleComponent' into 'master'
Seperate title component

See merge request lukas/openmediacenter!4
2020-06-19 14:28:43 +00:00
8150f884ab moved App and index css to project root 2020-06-19 18:23:29 +02:00
82f8fb7350 added tests for PageTitle component
repaired failing homepage test
2020-06-19 18:21:42 +02:00
d034b2bc52 new PageTitle component to have each page the same title 2020-06-19 00:16:18 +02:00
63284da11e added test for loading animation in Previews 2020-06-18 22:08:26 +02:00
37e5a1a51e added a loading animation to the video previews 2020-06-18 21:53:48 +02:00
c4098a8d3d added some tests for main App.js 2020-06-18 19:42:42 +02:00
043750170b added tests for homepage 2020-06-17 19:51:02 +02:00
23a1fdca75 fixing preventdefault function not found error 2020-06-15 22:02:34 +02:00
72c68d8a7c fixing page reload on search request 2020-06-14 22:01:13 +02:00
0e3fdc454e add new search field to search for videos by keyword 2020-06-12 19:48:09 +02:00
e95dd62ffd Tests for all Components 2020-06-12 15:57:30 +00:00
751e09f54b use enzyme library for testing updated some tests
new test for newtag component
2020-06-10 15:41:41 +02:00
bb18a62a3d some reformattings
added badges
2020-06-09 23:22:43 +02:00
ea6a6dca9c add code coverage report 2020-06-09 20:10:26 +02:00
c5f0788180 add some unit tests and a gitlab ci 2020-06-09 17:49:41 +02:00
46be02f912 cleanup 2020-06-08 19:54:20 +02:00
3402c7fa3b parse genres from tmdb
popup to add a new tag manually
added some key props to prevent warnings
2020-06-08 17:52:58 +02:00
21ccd165c2 container insertion issues 2020-06-07 23:27:31 +02:00
ed0df26a79 show video previews on tag click 2020-06-07 22:17:55 +02:00
836f5f342a added a videocontainer where previews can be stored in - usefull for category page 2020-06-07 21:42:01 +02:00
1459abf205 created new category page
load random picture of category to tags list
2020-06-07 15:48:27 +02:00
516949dc65 structured project with folders
better min preview height
correct sort by creation date
2020-06-07 11:37:50 +02:00
5ce517542b Popups 2020-06-06 11:48:12 +00:00
7b044f97b8 created settings page
set html title
poll infos about current reindex
better hover effect of preview tiles
hide non existing infos in Player
fixed wrong tagging of lq resolutions
2020-06-04 22:19:18 +02:00
fd12f1eb56 added readme improved style of prevew tiles 2020-06-04 16:45:24 +02:00
cb5c366641 improved poster on player page
improved tile sizes for preview
2020-06-04 00:15:06 +02:00
dd2e5b68a6 parse videos with TMDB
better size of video tiles
2020-06-03 18:26:30 +02:00