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

860 Commits

Author SHA1 Message Date
krateng
3ee68e75ac Ready to finally merge, fix GH-25 2021-12-21 23:05:36 +01:00
krateng
ca78463989 Updated requirements 2021-12-21 19:58:20 +01:00
krateng
7299c2e07e Finishing touches 2021-12-21 07:30:38 +01:00
krateng
97e8d5b18d Removed thumbor 2021-12-21 07:11:24 +01:00
krateng
e94607dc2c Finished globalconf rework (I hope?) 2021-12-21 07:09:25 +01:00
krateng
e006a10f70 Removed old files 2021-12-21 06:28:50 +01:00
krateng
ef04c98ea7 Added new sentinel files for future 2021-12-21 06:09:58 +01:00
krateng
b212e6b921 Adjusted globalconfig to new configuration module 2021-12-21 06:09:46 +01:00
krateng
77667e7066 Visual adjustments 2021-12-20 02:31:54 +01:00
krateng
5a2ec61d66 Updated requirements 2021-12-20 00:55:31 +01:00
krateng
ba96c8e14f More fixes 2021-12-20 00:15:22 +01:00
krateng
1ec283f885 Added descriptions, fixed various things 2021-12-19 23:40:30 +01:00
krateng
df22a595b8 Replaced settings calls in jinja files 2021-12-19 22:25:01 +01:00
krateng
6ccbf68923 Replaced more settings calls, added missing settings 2021-12-19 22:18:42 +01:00
krateng
4186171b8f Replaced settings calls 2021-12-19 21:41:43 +01:00
krateng
b39e2b889a Added description for some settings 2021-12-19 21:04:43 +01:00
krateng
e597ba8504 More work on new settings 2021-12-14 21:19:15 +01: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