Commit graph

47 commits

Author SHA1 Message Date
Ming Ming
0993324488 Improve error handling and logging in appdb 2022-01-16 04:37:02 +08:00
Ming Ming
62396a91a4 Use LsSingleFile to query single file 2022-01-06 18:55:46 +08:00
Ming Ming
2bddfcbf8c copyWith should create new instances of collections 2022-01-06 18:55:46 +08:00
Ming Ming
7b7dc1be8a Fix share responsibilities among users in shared album 2021-11-25 22:59:25 +08:00
Ming Ming
50599f2ba5 Disallow updating album with a newer version 2021-11-25 21:02:41 +08:00
Ming Ming
3527e96f7a Bump album version 2021-11-25 21:02:41 +08:00
Ming Ming
b6a9ff2d1d Refactor: simplify constructing album upgrader 2021-11-25 21:02:41 +08:00
Ming Ming
224b9ad151 Case insensitive string for username 2021-11-25 21:02:41 +08:00
Ming Ming
cd3476f9e8 Refactor: relocate function 2021-11-25 21:02:41 +08:00
Ming Ming
6e9a34342a Revamp how share is managed for album
Shares are now stored in the album json, such that users other than the album owner are aware of the shares
2021-11-25 21:02:41 +08:00
Ming Ming
7583b09bb8 Inject AppDb 2021-11-04 03:23:30 +08:00
Ming Ming
ff3739c04f Fix exception when upgrading remote v5 album 2021-10-31 22:20:26 +08:00
Ming Ming
4ac8cac73d Store user and time when an item is added to album 2021-10-28 04:48:51 +08:00
Ming Ming
1c29044540 Show albums shared with you in Sharing 2021-10-28 04:48:51 +08:00
Ming Ming
ec4e05c5e0 Tweak logs 2021-09-28 16:36:12 +08:00
Ming Ming
f01c64a155 Remove metadata from album files
This help reduce the file size
2021-09-28 16:36:08 +08:00
Ming Ming
a15f7a0db6 Fix new provider being created instead of modified 2021-09-28 16:32:13 +08:00
Ming Ming
06023228b8 Conform to the new lint rules 2021-09-16 03:53:10 +08:00
Ming Ming
02e8bf0c76 New naming scheme for album files 2021-08-08 15:13:27 +08:00
Ming Ming
a4122854b4 Simplify code with typedef 2021-08-08 15:13:27 +08:00
Ming Ming
df26b7a8c8 Migrate to null-safety 2021-07-25 00:23:08 +08:00
Ming Ming
1a4779f465 Fix album dir hardcoded in low level logic 2021-07-24 04:09:01 +08:00
Ming Ming
002ede3392 Fix album time not preserved on load 2021-07-24 04:09:01 +08:00
Ming Ming
aada2e12e2 Format code 2021-07-22 16:44:49 +08:00
Ming Ming
c29b1106b5 Refactoring 2021-07-22 16:44:49 +08:00
Ming Ming
4fb6c022d2 Abstract album sort behavior 2021-07-11 13:32:35 +08:00
Ming Ming
1f01c83f9a Extract album item class 2021-07-11 13:32:35 +08:00
Ming Ming
8e46c604a8 Abstract album cover provider 2021-06-29 18:11:59 +08:00
Ming Ming
0e7f2462b6 Abstract album content provider 2021-06-29 18:11:59 +08:00
Ming Ming
d4785b1f74 Improve album compatibility handling 2021-06-29 18:11:59 +08:00
Ming Ming
20a69b5620 Fix empty albums are not cached 2021-06-23 01:05:02 +08:00
Ming Ming
f4faa1ed1f Resync items with db when opening album 2021-06-15 03:30:46 +08:00
Ming Ming
4926228164 Simplify Album.toString 2021-06-14 21:52:45 +08:00
Ming Ming
3c70d6f5e2 Remove useless imports 2021-05-24 18:28:05 +08:00
Ming Ming
f7d0a41540 Group data srcs in new file 2021-05-24 18:28:05 +08:00
Ming Ming
bea76298dd PutFileBinary creates parent dirs automatically 2021-05-24 18:28:05 +08:00
Ming Ming
15e1591622 Put server-side storage path together 2021-05-24 18:28:05 +08:00
Ming Ming
88491f13cb Move remote album files to a subdir 2021-05-24 18:28:05 +08:00
Ming Ming
e5434a64e4 Add use case to create dirs 2021-05-24 18:28:02 +08:00
Ming Ming
9c37b1f0d8 Support creating remote dir 2021-05-24 15:33:20 +08:00
Ming Ming
63772e6e17 Clean up logs 2021-04-28 13:58:41 +08:00
Ming Ming
4a1326a96b Split large albums in DB 2021-04-27 19:06:34 +08:00
Ming Ming
6bc0e8d0d3 Fix a photo could be added to an album twice 2021-04-18 19:35:41 +08:00
Ming Ming
77bd2a9770 Add some unittest 2021-04-16 02:47:48 +08:00
Ming Ming
b3f410d8b8 Make some entities equatable 2021-04-16 02:47:48 +08:00
Ming Ming
12421aa1d8 Fix EXIF error when converting from JSON 2021-04-15 07:09:16 +08:00
Ming Ming
ab573ad273 Initial commit 2021-04-10 12:28:12 +08:00