25758 Commits

Author SHA1 Message Date
Neeraj Gupta
3e5648dae4
[mob][photos][internal] Enable fav + add to album action for shared files (#1484)
## Description


https://github.com/ente-io/ente/assets/254676/7ec2f82a-d0d1-4dbe-8836-87d1ffd793f6


## Tests

- [x] Hide Shared Item on Home Page If user has copied it.
- [x] Keep the fav state on the UI
- [x] Client side hash based dedupe works for copied items. Items are
linked to existing item instead of uploading duplicate entries
2024-04-20 15:33:54 +05:30
Neeraj Gupta
5e2c6f84f1 [mob][photos] Use internal flag check 2024-04-20 15:28:22 +05:30
Neeraj Gupta
b7d002feef
[server] Support for copying files owned by others (#1496)
## Description

## Tests
Tested as part of https://github.com/ente-io/ente/pull/1484
- Verified that the client was able to download and decrypt the metadata
- Verified that storage was going up.
2024-04-20 15:27:11 +05:30
Neeraj Gupta
72ddbbdf79 [mob][photos] Add assert to ensure copy is enabled for internal users 2024-04-20 15:21:26 +05:30
Vishnu Mohandas
076335ce5c
[mob][photos] Fix build failing in release workflow (#1497)
## Description

Build was failing with this error
```
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':connectivity_plus:compileReleaseJavaWithJavac'.
> error: invalid source release: 17
```

## Tests

- [x] Ran workflow to verify it's completing.
2024-04-20 15:18:31 +05:30
ashilkn
b10e212e0f [mob] use flutter v3.19.3 2024-04-20 15:11:09 +05:30
ashilkn
ae2e740752 [mob] fix build error in github workflow for photos 2024-04-20 15:01:07 +05:30
Neeraj Gupta
d0621eea3e [server] Limit copying max 100 files in single req 2024-04-20 12:54:27 +05:30
Neeraj Gupta
cbdd116cea [server] Copy thumb and file in parallel 2024-04-20 12:49:28 +05:30
Neeraj Gupta
91620965b0 [server] Minor refactor 2024-04-20 12:37:35 +05:30
Neeraj Gupta
5a5e3d28cb [server] Copy files in parallel 2024-04-20 12:36:18 +05:30
Neeraj Gupta
bf738d9585 [server] Lint fix 2024-04-20 12:23:00 +05:30
Neeraj Gupta
ca7b03e945 [server] Fix incorrect pointer assignment in collection file map 2024-04-20 12:21:44 +05:30
Vishnu Mohandas
2160b4d7f9
Downgrade to Flutter v3.19.3 (#1495) 2024-04-20 11:33:31 +05:30
Ashil
a6e3d6de97
[mob][photos] Bump up to v0.8.83 (#1494) 2024-04-20 11:32:31 +05:30
Neeraj Gupta
c165b9ee9c [mob][photos] Lint 2024-04-20 11:31:09 +05:30
Neeraj Gupta
e2aae744be [mob][photos] Fix ownerID for copied items 2024-04-20 11:30:40 +05:30
vishnukvmd
f1e723a672 Downgrade to Flutter v3.19.3 2024-04-20 11:30:36 +05:30
Neeraj Gupta
9a34fdce05 [mob][photos] Enable add to option for shared photos for internal users 2024-04-20 11:30:20 +05:30
Vishnu Mohandas
200cab16c3
Setup GH action to auto-deploy Photos to the internal track (#1493) 2024-04-20 11:06:59 +05:30
vishnukvmd
a704251bdd Switch to manual workflow 2024-04-20 11:06:34 +05:30
vishnukvmd
38aca8a947 Setup GH action to auto-deploy Photos to the internal track 2024-04-20 10:59:49 +05:30
Neeraj Gupta
fbf8b61891 [server] Fix query 2024-04-19 19:20:21 +05:30
Ashil
8113b70441
[mob][photos] Remove code related to sqlite3 (#1490) 2024-04-19 18:11:52 +05:30
Ashil
c4c513a1d7
[mob][photos] Use sqlite_async instead of sqlite3 (#1489)
## Description

Using both `sqlite_async` and `sqlite3` for querying at the same time
was throwing this error:
`error: SqliteException(5): while executing, database is locked,
database is locked (code 5)`

So, have used `sqlite_async` everywhere.

## Tests

- [x] Tested all changes
2024-04-19 16:56:40 +05:30
Neeraj Gupta
fc5705dd7b [mob][photos] Add additional check for fileType 2024-04-19 16:46:42 +05:30
Neeraj Gupta
01822b760d [mob][photos] Dedupe using hash before copying 2024-04-19 16:45:29 +05:30
Neeraj Gupta
02890a100b [mob][photos] Lint fix 2024-04-19 15:56:49 +05:30
Neeraj Gupta
f55fd36579 [mob][photos] Fix: Pass copy of EnteFile to avoid modification in original 2024-04-19 15:54:49 +05:30
Neeraj Gupta
08040d9154 [mob][photos] Use loading indicator instead of blocking progress 2024-04-19 15:52:41 +05:30
Manav Rathi
814803edb4
[desktop] Watch related refactoring - Part 2/x (#1488)
Inline, mostly, in preparation for a subsequent refactoring.
2024-04-19 15:05:01 +05:30
Manav Rathi
41aeb63465
Fix lint issues
unrelated to this PR, come from https://github.com/ente-io/ente/pull/1479
2024-04-19 15:02:09 +05:30
Neeraj Gupta
564ca77a8b Merge remote-tracking branch 'origin/main' into mobile_save_a_copy 2024-04-19 14:57:19 +05:30
Neeraj Gupta
136f53b581 [mob][photos] Fix: Remove fav action on shared photos 2024-04-19 14:53:41 +05:30
Manav Rathi
82c365b2db
Inline 2024-04-19 14:49:24 +05:30
Manav Rathi
5f87dce547
Inline 2024-04-19 14:47:44 +05:30
Manav Rathi
643d028ffc
Inline 2024-04-19 14:44:29 +05:30
Manav Rathi
7ed6e729f5
Inline 2024-04-19 14:37:35 +05:30
Manav Rathi
2b35d586c1
Inline 2024-04-19 14:33:54 +05:30
Manav Rathi
292084c00d
Inline 2024-04-19 14:32:09 +05:30
Ashil
937267ed72
[mob] perf: avoid unnecessary frame builds and computations when toggling full fullscreen when viewing a file (#1487) 2024-04-19 14:17:01 +05:30
Manav Rathi
0509aad4af
Remove unused prop 2024-04-19 14:15:53 +05:30
Neeraj Gupta
3788fdda6f [mob][photos]Fix: Show fav icon on shared photos 2024-04-19 14:15:33 +05:30
Manav Rathi
f59ecdb8d8
Reword 2024-04-19 14:14:48 +05:30
Manav Rathi
2c46be6ded
async 2024-04-19 13:46:09 +05:30
Neeraj Gupta
710f76ee40 Merge remote-tracking branch 'origin/main' into save_a_copy 2024-04-19 13:36:00 +05:30
Neeraj Gupta
7f879aaf57 [mob][photos] Hide incoming file from home screen is saved 2024-04-19 13:34:44 +05:30
Manav Rathi
967ef2e3ea
[desktop] Watch refactoring to get it work with new IPC (#1486) 2024-04-19 13:09:40 +05:30
Manav Rathi
760be52dc5
Fix schema 2024-04-19 12:59:10 +05:30
Manav Rathi
5be1b07c71
Remove noise on logout 2024-04-19 12:50:57 +05:30