1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00
Commit Graph

952 Commits

Author SHA1 Message Date
FoxxMD
a988f0e6dc Improve docker builds and documentation
* Refactor Dockerfile to build from source instead of pypi
* Include an additional dockerfile for building from pypi
* Update readme documentation for docker to specify image sources and docker-specific run instructions
2021-12-15 09:53:33 -05:00
krateng
1303891a2d How have I never noticed this 2021-12-15 07:47:36 +01:00
krateng
1a689d3a1c Added action to publish to PyPI 2021-12-15 07:19:01 +01:00
krateng
8958eb1b54 Updated Readme 2021-12-14 21:43:34 +01:00
krateng
e597ba8504 More work on new settings 2021-12-14 21:19:15 +01:00
krateng
975e57ea46
Merge pull request #92 from FoxxMD/apiKeysLoadOrder
Load api keys before building database for api accessibility
2021-12-14 18:51:42 +01:00
FoxxMD
e582e5abe2 Load api keys before building database for api accessibility
Allows access to /mlj_1/test without database having to be built
2021-12-14 09:13:09 -05:00
krateng
d65def2ddf
Merge pull request #90 from FoxxMD/ghDockerDeploy
Build and deploy docker image on master commit or tag
2021-12-13 16:58:35 +01:00
FoxxMD
a71086c10d Build and deploy docker image on master commit or tag
Automate docker image deployment to dockerhub using repository triggers
2021-12-13 09:20:03 -05:00
krateng
09e484021c Began work on new settings implementation 2021-12-12 18:43:24 +01:00
krateng
383c24511f Added ability to add custom css files, fix GH-79 2021-12-12 13:53:02 +01:00
krateng
98ec5885e7 Minor improvements 2021-12-11 20:40:52 +01:00
krateng
86f8d5a3eb Cleanup 2021-12-11 04:56:53 +01:00
krateng
a85ec372f2 Simplified timestamp desc further 2021-12-10 22:20:36 +01:00
krateng
05460f97b7 Refactored timestamp descriptions 2021-12-10 22:01:29 +01:00
krateng
3b8723790a Refactored time objects 2021-12-10 21:31:09 +01:00
krateng
acace4d04a Cleaned up time range handling 2021-12-10 21:08:44 +01:00
krateng
59eaa2264a Minor cleanup of image functions 2021-12-09 22:58:43 +01:00
krateng
a52c494e4b Moved endpoints back out of functions 2021-12-09 21:12:37 +01:00
krateng
d23da91101 Fixed CSS errors 2021-12-09 20:22:45 +01:00
krateng
56eaa8a793 Error handling details 2021-12-09 19:49:53 +01:00
krateng
e17002299b Cleaned up database 2021-12-09 06:35:43 +01:00
krateng
e110ed765f Removed superfluous temp endpoint stuff 2021-12-09 06:33:37 +01:00
krateng
e901ca719f Improved error handling and output 2021-12-09 06:26:06 +01:00
krateng
83063ba943 Added error for unbuilt database 2021-12-09 06:24:34 +01:00
krateng
b4230c0ae6 Reorganized main loop and added temporary endpoints during DB build, GH-88 2021-12-09 05:49:25 +01:00
krateng
6d5b306d93 Updated setup of API secrets 2021-11-27 20:04:13 +01:00
krateng
a41aa0962b Added Deezer and TheAudioDB as metadata providers 2021-11-27 19:19:58 +01:00
krateng
898dd9735c Fixed Spotify auth if not in use, fix GH-87 2021-11-21 17:14:22 +01:00
krateng
2101223440 More design changes 2021-11-21 17:06:20 +01:00
krateng
be7780a0c0 Expanded scrobble generation 2021-11-18 06:47:03 +01:00
krateng
ff8e5ec8ff Commenting and slight Spotify search improvement 2021-11-18 06:45:44 +01:00
krateng
e236cce86c Design changes 2021-11-17 22:18:04 +01:00
krateng
d9cd546952 Moved main loop to function 2021-11-17 19:10:49 +01:00
krateng
29f8c10167 Minor UI / output changes 2021-11-17 19:10:28 +01:00
krateng
26dfdfb569 Minor cleanup and better logging 2021-11-16 18:22:46 +01:00
krateng
817d98e467 Added new scrobble generation for testing 2021-11-14 18:08:09 +01:00
krateng
504bfb405e Some design changes 2021-11-14 18:07:49 +01:00
krateng
9b98b3db3c Listenbrainz API now returns user name 2021-11-12 17:23:55 +01:00
krateng
33af60ed2c Updated listenbrainz endpoint, should fix GH-86 2021-11-12 17:16:59 +01:00
krateng
5157ce825e Updated dependencies for Python 3.10, fix GH-85 2021-10-20 19:08:21 +02:00
Brian Pepple
d1b598a32b
Refactoring (#83)
* Merge isinstance calls

* Inline variable that is immediately returned

* Replace set() with comprehension

* Replace assignment with augmented assignment

* Remove unnecessary else after guard condition

* Convert for loop into list comprehension

* Replace unused for index with underscore

* Merge nested if conditions

* Convert for loop into list comprehension

* Convert for loop into set comprehension

* Remove unnecessary else after guard condition

* Replace if statements with if expressions

* Simplify sequence comparison

* Replace multiple comparisons with in operator

* Merge isinstance calls

* Merge nested if conditions

* Add guard clause

* Merge duplicate blocks in conditional

* Replace unneeded comprehension with generator

* Inline variable that is immediately returned

* Remove unused imports

* Replace unneeded comprehension with generator

* Remove unused imports

* Remove unused import

* Inline variable that is immediately returned

* Swap if/else branches and remove unnecessary else

* Use str.join() instead of for loop

* Multiple refactors

- Remove redundant pass statement
- Hoist repeated code outside conditional statement
- Swap if/else to remove empty if body

* Inline variable that is immediately returned

* Simplify generator expression

* Replace if statement with if expression

* Multiple refactoring

- Replace range(0, x) with range(x)
- Swap if/else branches
- Remove unnecessary else after guard condition

* Use str.join() instead of for loop

* Hoist repeated code outside conditional statement

* Use str.join() instead of for loop

* Inline variables that are immediately returned

* Merge dictionary assignment with declaration

* Use items() to directly unpack dictionary values

* Extract dup code from methods into a new one
2021-10-19 14:58:24 +02:00
krateng
c31770a34c Version bump due to faulty upload 2021-10-14 18:15:24 +02:00
krateng
d3e45b138b Added ability to set own time format, GH-82 2021-10-14 18:14:03 +02:00
krateng
08cc32ac33 Various 2021-10-14 18:02:11 +02:00
krateng
4b49ffb3cb Updated scrobbler icons 2021-08-30 19:44:25 +02:00
krateng
f50728d2a6 Merge branch 'master' of github.com:krateng/maloja 2021-08-30 19:21:57 +02:00
krateng
a55343f442 Changed from LESS to CSS custom properties 2021-08-30 19:21:04 +02:00
krateng
01fbc8c3d3
Clarified settings, GH-77 2021-08-24 04:54:09 +02:00
krateng
9037403777 Updated favicon 2021-08-10 17:36:31 +02:00