Commit Graph
100 Commits
Author SHA1 Message Date
lukas f17bac399a basic frontend implementation of new token system 2021-09-19 23:20:37 +02:00
lukas e985eb941c overwork most of how api works
dont transmit handler within payload
don't use oauth to gen token -- jwt instead
2021-09-16 22:38:28 +02:00
lukas 0fcb92c61a Merge branch 'conffile' into 'master'
Config

See merge request lukas/openmediacenter!53
2021-09-11 21:31:49 +00:00
lukas aa49d601ab override config entries with cli args
use getconfig instead of settings file
2021-09-09 23:33:04 +02:00
lukas 2706929bb4 load and save config file 2021-09-06 20:20:33 +02:00
lukas 98c5211020 correct videopath to delete 2021-09-05 15:27:14 +02:00
lukas 2a098527bd Merge branch 'fullydeleable' into 'master'
Fully Deletable Videos

Closes #74

See merge request lukas/openmediacenter!52
2021-09-05 13:14:48 +00:00
lukas 916f092406 add some tests and correct deletion path 2021-09-05 15:01:11 +02:00
lukas 924f05b2d2 fix tests and send feature support within first api call 2021-09-03 12:09:51 +02:00
lukas 543ce5b250 fully deletable videos -- enable/disable with cli args 2021-08-29 19:48:03 +02:00
lukas 7ebc5766e9 fix unit tests 2021-08-28 22:55:27 +02:00
lukas f8dbadc45b player page: goback only if backstack available, go to homepage if not
fix invalid api request when creating new actor
2021-08-28 22:21:51 +02:00
lukas 032b90a93d update dependencies 2021-07-29 19:35:58 +02:00
lukas 6b4267b50b implement lukas/openmediacenter#72 2021-07-25 10:15:28 +02:00
lukas ebb55eb0dc Merge branch 'settingssavefix' into 'master'
fix type error on settingssave

Closes #71

See merge request lukas/openmediacenter!50
2021-07-11 12:45:08 +00:00
lukas 24ecfb46e6 fix type error on settingssave 2021-07-11 14:26:10 +02:00
lukas 64897d2abe implement api fetch with async await and outsource general code into seperate function 2021-06-24 17:58:42 +02:00
lukas c93d02ca14 Merge branch 'filterbutton' into 'master'
SortBY feature

See merge request lukas/openmediacenter!49
2021-06-22 20:15:05 +00:00
lukas c7a0368a26 add test and move style in stylesheet 2021-06-22 22:01:35 +02:00
lukas 95a6a4d407 Merge branch 'disableableTVShowNav' into 'master'
tVShows navlink and pages optionally disabled

See merge request lukas/openmediacenter!48
2021-06-14 19:37:04 +00:00
lukas 8d50ec54e7 add new sortby button and allow sorting on homepage 2021-06-13 22:29:50 +02:00
lukas d94b672a12 fix invalid underlining of navitems 2021-06-11 23:10:57 +02:00
lukas c47ab476a2 update dependencies 2021-06-10 21:37:59 +02:00
lukas a60f5a30b8 make tvshow navlink and pages and backend disableable with a command line parameter 2021-06-08 21:55:54 +02:00
lukas f7b7df5934 Merge branch 'wrong_playerid' into 'master'
Homepage redirect on wrong Player id

Closes #69

See merge request lukas/openmediacenter!47
2021-06-08 18:12:09 +00:00
lukas 7d44ffa225 Homepage redirect on wrong Player id 2021-06-08 18:12:09 +00:00
lukas f0bc0c29dd fix lukas/openmediacenter#70 2021-06-06 11:49:42 +02:00
lukas e3c7fe514b Merge branch 'APIDoc_handling_mechanics' into 'master'
Api mechanics

See merge request lukas/openmediacenter!46
2021-05-25 20:52:09 +00:00
lukas e47b3eecf2 fix api typo 2021-05-25 22:34:29 +02:00
lukas b59b6a17f4 add missing apidoc, dont show sendrequest form on docpage
fix unit tests
2021-05-23 14:21:44 +02:00
lukas 31ad6ec1e5 new apihandler mechanics to allow asynchronous api calls
document some api nodes with apidoc
2021-05-22 21:33:32 +02:00
lukas da07dc04bd load videopath from backend
correctly redirect to login page if login fails
2021-05-09 19:38:59 +02:00
lukas f7705aef98 fix failing tests 2021-05-08 16:38:01 +02:00
lukas b13a10f37b outsource Token namespace in seperate file to release dependency to GlobalInfos 2021-05-08 15:19:13 +02:00
lukas 0797632c44 abstract tokenstore to support different storage methods of tokenstore 2021-05-07 17:31:35 +02:00
lukas ab02a49b8f fix wrong ws protocol on https 2021-05-01 17:38:12 +02:00
lukas 7f89392b30 Merge branch 'tvshowspage' into 'master'
new tvshowspage

Closes #37, #23, and #17

See merge request lukas/openmediacenter!45
2021-05-01 14:38:58 +00:00
lukas 5295f0b182 add go unit test
send status messages when tvshow reindexing
2021-05-01 16:25:32 +02:00
lukas d6fd2cbd9c add some MovieSettings unit tests 2021-05-01 15:57:58 +02:00
lukas 5fac3a0780 add some unit tests 2021-05-01 15:18:38 +02:00
lukas 4ae9f27902 add some unit tests
pretify episodepage
2021-04-28 17:31:38 +02:00
lukas 8c44a931de some reformattings
remove test code from main
2021-04-23 21:37:57 +02:00
lukas d952538f0a implement thubnail loading from tmdb
fix lots of errors if ' char occurs in path strings
correct reverse proxy for websocket
2021-04-23 21:23:51 +02:00
lukas f72a3e5fb4 add a new TVPlayer component,
add tv episode path to db
2021-04-22 20:31:36 +02:00
lukas c30c193ce0 fix failing tests / remove obsolente ones
add basic structure of episode page
2021-04-20 21:17:34 +02:00
lukas 6d41b86120 new logo,
partly implement tvshow reindex
* add tvshow to db
* add episodes to db
new route switcher for tvshows
2021-04-19 20:31:56 +02:00
lukas 5656428de7 implement websocket to send reindex messages 2021-04-18 21:16:38 +02:00
lukas 32c7e8a01b rename file 2021-04-16 22:48:41 +02:00
lukas 4539147208 add tvshow syntax to db
basic tvshow api request to show available tvshows
limit randompage videos to 3
improve settings object to remove one useless copy
2021-04-16 22:44:56 +02:00
lukas fdcecb0a75 * no unauthorized init
* more dynamic Preview element
2021-04-16 21:12:56 +02:00
lukas 57a7a9a827 abstract dynamic video tile load within new dynamicloader class to allow to load other elements dynamically. 2021-04-16 18:20:39 +02:00
lukas 4465840657 fix non support of <() syntax within sh shell 2021-04-09 15:03:21 +02:00
lukas 7aeb14c120 use new ssh docker image 2021-04-09 14:28:08 +02:00
lukas dfd92b1730 new tvshowspage 2021-04-09 12:59:28 +02:00
lukas d9875a11d5 Merge branch 'include_webpage_in_binary' into 'master'
Optional include of webpage into golang binary

Closes #40

See merge request lukas/openmediacenter!44
2021-04-02 17:04:16 +00:00
lukas d9d6907745 delete useless custombackend popup
correct load of subpage when standalone binary
ability to set external videourl when using standalone binary
2021-04-02 17:04:15 +00:00
lukas c0405cd79a Release version v0.1.3 2021-03-22 20:24:10 +01:00
lukas 533e319ea0 Merge branch 'error_wrong_pwd_rm_map_files' into 'master'
Error message when password wrong

Closes #66 and #46

See merge request lukas/openmediacenter!42
2021-03-22 19:07:32 +00:00
lukas a2ac188423 remove .map files from production build
show error message if wrong password was entered.
2021-03-22 19:07:32 +00:00
lukas fe349b1fd2 use creat if not exists syntax also on index entries 2021-03-22 18:39:34 +01:00
lukas 973a469410 restart service on debian package update instead of only starting it 2021-03-22 17:55:03 +01:00
lukas da04c30148 Merge branch 'reindex_performance_improvement' into 'master'
Reindex Performance Imprvement

Closes #42

See merge request lukas/openmediacenter!43
2021-03-22 16:37:08 +00:00
lukas 137d7ed49d use single db query to check whether a url exists already in db or not 2021-03-22 17:22:34 +01:00
lukas f2ec5b644d no implicit any - force return
add some comments
2021-03-19 19:10:13 +01:00
lukas 5dbbd34d3a add environment variable to set custom movie backend url
edit readme
handle enter event on AuthenticationPage
2021-03-16 20:44:32 +01:00
lukas 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
lukas a51176fb93 fix filenames with special characters aren't urlencoded
year parsing does not remove parentheses
2021-03-14 19:01:40 +01:00
lukas b2b0e3a917 fix lukas/openmediacenter#63 2021-03-14 17:29:33 +01:00
lukas 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
lukas 283d3dc59b Merge branch 'eslint' into 'master'
Eslint

See merge request lukas/openmediacenter!41
2021-03-14 14:51:53 +00:00
lukas 1fc67365f0 use eslint to lint project
drop code quality job
2021-03-14 14:51:53 +00:00
lukas ba2704b285 Merge branch 'passwordpage' into 'master'
PasswordPage if enabled in settings

See merge request lukas/openmediacenter!40
2021-03-14 12:49:25 +00:00
lukas 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
lukas be40475615 use correct regex for the reverse proxy 2021-03-09 19:31:56 +01:00
lukas b625a4d958 Merge branch 'Oauth_auth' into 'master'
OAuth2

See merge request lukas/openmediacenter!37
2021-03-09 12:56:54 +00:00
lukas c24c2ac2d8 add secure requests with tokens.
generate new token on every new page load
2021-03-09 12:56:53 +00:00
lukas 162b4efd0e Merge branch 'addtag_filterablesearch' into 'master'
Filterbutton on addtag pupup

See merge request lukas/openmediacenter!38
2021-03-08 14:11:26 +00:00
lukas db0edf7a80 outsource filterbutton to new file
make addtag popup filterable
2021-03-08 14:11:26 +00:00
lukas 488354bc28 fix lukas/openmediacenter#64 2021-03-07 19:49:40 +01:00
lukas f42f2d4915 update @type dependencies 2021-03-05 21:10:10 +01:00
lukas 8d97ab85a9 Merge branch 'golang_backend' into 'master'
Fully use GO for backend

See merge request lukas/openmediacenter!35
2021-02-23 16:01:30 +00:00
lukas f2b5fb6587 implement full load of videos and startdata
modify api where necessary
2021-02-23 16:01:29 +00:00
lukas 2967aee16d Merge branch 'keypropwarnings' into 'master'
fix some required key warnings

See merge request lukas/openmediacenter!34
2021-02-06 22:18:48 +00:00
lukas 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
lukas 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
lukas b6ab359a37 add API node type instead of always use string to define api node 2021-01-29 22:15:17 +00:00
lukas e825f94028 fix #54 2021-01-29 21:39:19 +01:00
lukas fbf286c09c Merge branch 'enter_popup_submit' into 'master'
Shortkeys

See merge request lukas/openmediacenter!31
2021-01-28 19:50:26 +00:00
lukas 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
lukas f06da8044f Merge branch 'tat_remove' into 'master'
make tags deleteable

See merge request lukas/openmediacenter!30
2021-01-26 19:14:57 +00:00
lukas ac126f6a9d make tags deleteable
seperate sidebar for each different category page
2021-01-26 19:14:57 +00:00
lukas d8aee9e5b7 reformat code 2021-01-24 16:43:38 +01:00
lukas fe1a00d1af Merge branch 'full_typescript' into 'master'
typescriptify settings components

See merge request lukas/openmediacenter!29
2021-01-22 21:05:22 +00:00
lukas 6c7cc11038 typescriptify Popupbase
focus textfield on filterclick
2021-01-22 21:05:21 +00:00
lukas 66eb72d7fb drop support of electron - bad practise to mix website with electron app 2021-01-19 17:27:39 +01:00
lukas 0c3f9204bc keep persistent api - databse namings in tests (fixes tests) 2021-01-06 17:53:57 +01:00
lukas 4ca590639d add a filter option to the addactor popup page 2021-01-03 21:58:55 +01:00
lukas 3e9cb7410f use / as default homepage in package.json 2021-01-01 19:49:18 +01:00
lukas 272c88ab50 force index.html - independent of subpath 2020-12-30 18:12:41 +01:00
lukas c4227faf14 Merge branch 'reactrouter' into 'master'
use react router to route through pages

See merge request lukas/openmediacenter!28
2020-12-29 19:39:30 +00:00