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

858 Commits

Author SHA1 Message Date
krateng
b5999dab1f More adjustments to PyPI workflow 2021-12-16 06:37:52 +01:00
krateng
54ad3f6d3b
Update pypi.yml 2021-12-16 06:28:53 +01:00
krateng
647e942a35
Update dockerhub.yml 2021-12-16 06:26:25 +01:00
krateng
7774d9a936 Fixed issue with first setup, GH-94 2021-12-16 06:19:26 +01:00
krateng
3d573b10f9 Automated Dockerhub Readme updates 2021-12-15 22:57:43 +01:00
krateng
a24e26678a Updated Dockerhub workflow 2021-12-15 19:47:34 +01:00
krateng
c0c474b473
Merge pull request #93 from FoxxMD/dockerFromSource
Improve docker builds and documentation
2021-12-15 18:40:49 +01:00
krateng
319519b7e2 Adjusted Dockerhub workflow 2021-12-15 18:36:00 +01:00
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
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
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