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

25 Commits

Author SHA1 Message Date
krateng
9f8e691924 Moved image handling to top level module 2022-03-27 22:02:24 +02:00
krateng
be4ed055ff Small fixes 2022-03-27 19:52:51 +02:00
krateng
e22ef4d268 Updated documentation 2022-03-27 05:57:58 +02:00
krateng
c8ed894efb Updated tasks to new database architecture 2022-03-27 05:31:15 +02:00
krateng
e31c0dce57 Reorganized tasks 2022-03-27 05:08:17 +02:00
krateng
3f098b6993 Merge branch 'master' into v3 2022-03-27 03:30:04 +02:00
krateng
fa9fee758c Reworked import and added support for Spotify, GH-104 2022-03-27 03:10:54 +02:00
krateng
78c50d24d9 Updated backup 2022-02-14 05:11:55 +01:00
krateng
af569ae983 Added backup from web interface 2021-12-26 20:53:38 +01:00
krateng
be7780a0c0 Expanded scrobble generation 2021-11-18 06:47:03 +01:00
krateng
817d98e467 Added new scrobble generation for testing 2021-11-14 18:08:09 +01: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
8ebd27ab76 Added some output for errors in import and start 2021-05-24 15:04:22 +02:00
Krateng
f5f73d9223 Removed debug logging, fix GH-63 2020-12-25 17:11:09 +01:00
Krateng
db80e1791a Fixed backup 2020-12-25 16:52:25 +01:00
Krateng
0818dccac4 Fixed most references to user files 2020-12-25 04:52:05 +01:00
Krateng
772f207b7e Cleaned up some imports 2020-12-03 20:12:49 +01:00
Krateng
f6b9f2b9fa Fix GH-61 2020-12-03 18:37:30 +01:00
Krateng
212fbf368e Database fixing now finally respects existing separation 2020-12-02 21:08:44 +01:00
Krateng
3de4059f85 Fixed database maintenance, GH-59 2020-12-02 19:18:12 +01:00
Krateng
10f636e7ed Removed rulestate consistency system 2020-09-01 01:19:10 +02:00
Krateng
bda279d01d Fixed some issues 2020-06-20 20:56:51 +02:00
Krateng
4d10276cc1 Added some log output 2020-06-20 18:15:02 +02:00
Krateng
398b737781 Fixed relative file hierarchy for backups 2020-06-20 18:04:20 +02:00
Krateng
be79dc1888 Reorganized tasks 2020-06-20 17:52:26 +02:00