11 Commits

Author SHA1 Message Date
geoffrey45
c8e4529e3c escape special chars in count_documents regex
- thanks github copilot ❤️
2022-07-07 08:37:02 +03:00
restyled-io[bot]
e77f2b9f2b
Restyle Remove global lists and read everything from the database. (#71) 2022-07-06 17:41:01 +03:00
restyled-io[bot]
714775a67e Restyle New album page design (#76) 2022-07-06 17:38:33 +03:00
geoffrey45
5acb8cb84d check if album colors have contrast
- remove albumid field from album class
- set accent color to $red
2022-07-06 17:38:33 +03:00
geoffrey45
a23b6200eb add colors to album page header
- add colors attribute to the album class
- render color gradient in the album page
2022-07-06 17:38:33 +03:00
geoffrey45
3cd0527962 use count_documents to get folder count
- map filenames with db data
2022-06-21 16:24:27 +03:00
geoffrey45
3cf44759b5 process albums seperate from tracks
- break populate function into 2
2022-06-19 14:45:25 +03:00
geoffrey45
79a7161827 fix search to read from database 2022-06-16 09:36:42 +03:00
geoffrey45
030ab8a379 refactor most things to use the database directly 2022-06-13 14:45:18 +03:00
geoffrey45
892a090ed5 import pymongo at db/mongobd/tracks.py 2022-06-04 11:00:12 +03:00
Mungai Geoffrey
4302fea0b7
Move MongoDB classes into a seperate db module (#62)
* move album class into mongodb dir

* inherit AlbumMethods at DB Initialization level

* move album -> db/mongodb

* move mongodb classes into separate package
2022-06-04 10:57:36 +03:00