Commit graph

24275 commits

Author SHA1 Message Date
vishnukvmd f8d956d47f Fix path to APK 2024-03-13 12:22:11 +05:30
Vishnu Mohandas f8d8550b10
v0.8.68 (#1076) 2024-03-13 11:47:47 +05:30
vishnukvmd bc4fa44edd v0.8.68 2024-03-13 11:47:25 +05:30
Vishnu Mohandas 92de88e778
[photos] Update flow for Independent APK (#1074) 2024-03-13 11:46:04 +05:30
Vishnu Mohandas 7814cbcc91
Remove unused code for app-updates (#1072) 2024-03-13 11:45:53 +05:30
Ashil 518b947808
[mobile][photos] Make scrollbar in log file viewer interactive (#1075) 2024-03-13 11:43:31 +05:30
Neeraj Gupta 077ba04664 [cli-release.yml] Pass release version in build flag 2024-03-13 11:43:19 +05:30
Neeraj Gupta e42422407c [cli] Pick version from the github tag 2024-03-13 11:43:19 +05:30
Neeraj Gupta 2711a227fc [cli] Update gen docs + add docs/selfhost.md 2024-03-13 11:43:19 +05:30
Neeraj Gupta 4325de6fde [mob] Remove .env.example 2024-03-13 11:43:19 +05:30
Neeraj Gupta c7d7d436c3 [docs] Add guide to connect CLI to self-hosted instance 2024-03-13 11:43:19 +05:30
Neeraj Gupta f7077c2b11 [docs] Update guide to build mobile app 2024-03-13 11:43:19 +05:30
vishnukvmd 8f525cb88d Update Github Action for Photos 2024-03-13 11:27:24 +05:30
vishnukvmd be3b4dc7ba Open the link to Github APK instead of downloading it in-app 2024-03-13 11:21:36 +05:30
Ashil 0c1c0ad400
[mobile][photos] Home widget UI tweaks (#1060) 2024-03-13 11:20:50 +05:30
Ashil 773f4cdca2
[mobile][photos] Fix missing hero animation (#1064)
## Description

Sometimes, when opening an image from gallery, the hero animation fails
to happen. This PR fixes this issue.



https://github.com/ente-io/ente/assets/77285023/2ee40ec8-58d0-4ca1-82fb-1be96581137b



## Tests

- [x] Didn't break hero animations of videos, it almost stays the same.
2024-03-13 11:20:20 +05:30
Manav Rathi 96bb79b9e9
[web] Allow running the build outside of a git repository (#1073)
This was found useful by @Bramas when building a Dockerfile of the web
app itself. See https://github.com/ente-io/ente/pull/1065.

Now, the GIT_SHA environment variable can just be undefined if we're not
in a git repository, and the code using it deals with that case
explicitly.

**Tested by**

Temporarily inverted the isDevBuild flag, then

1. Ran the build normally and verified that the SHA continued to appear
in the logs.

2. Ran the build after copying to a standalone folder without an
associated git repository and verified that the SHA was skipped without
causing the build to fail.
2024-03-13 11:19:44 +05:30
Manav Rathi d5164693ff
Fix vitepress warning
Change the syntax highlighting of the `env` code block from `env` to `sh`
because currently vite press doesn't support the env language and instead
complains

> The language 'env' is not loaded, falling back to 'txt' for syntax highlighting.
2024-03-13 11:17:53 +05:30
Manav Rathi 26b162c8dc
[web] Allow running the build outside of a git repository
This was found useful by @Bramas when building a Dockerfile of the web app
itself. See https://github.com/ente-io/ente/pull/1065.

Now, the GIT_SHA environment variable can just be undefined if we're not in a
git repository, and the code using it deals with that case explicitly.

**Tested by**

Temporarily inverted the isDevBuild flag, tehn

1. Ran the build normally and verified that the SHA continued to appear in the logs.

2. Ran the build after copying to a standalone folder without an associated git
   repository and verified that the SHA was skipped without causing the build to
   fail.
2024-03-13 11:15:12 +05:30
Neeraj Gupta 297148dc67
[auth][mob] Add recovery support for passkey (#1013)
## Description

## Tests
  Verified that reset flow is working fine on both auth and photos app.
2024-03-13 11:12:30 +05:30
vishnukvmd 46522c329c Remove unused code for app-updates 2024-03-13 11:12:06 +05:30
Manav Rathi 8358eef34e
[docs] Move the self hosting using external S3 buckets guide to independent page (#1070)
See: https://github.com/ente-io/ente/pull/1066
2024-03-13 10:44:12 +05:30
Manav Rathi 4326409046
[docs] Move the self hosting using external S3 buckets guide to independent page
See: https://github.com/ente-io/ente/pull/1066
2024-03-13 10:32:35 +05:30
Manav Rathi 687d575bf4
add guide for self-hosting server + webapp with external S3 storage (#1066)
## Description

I wrote a small guide to run the server and the web app using docker
compose (locally or on a server), with an external S3 storage (which I
assume will be a common use-case).

It requires #1065 , or at least this line change:
https://github.com/ente-io/ente/pull/1065/files#diff-5a9426639947f5afb92612a4583a5b7d496f9cb6a791db9c29f28ff298282aebR16
2024-03-13 09:55:24 +05:30
Neeraj Gupta 0678e3129a [cli] generated docs 2024-03-13 02:03:44 +05:30
Neeraj Gupta b164b0df21 [cli] By default, update sub to high storage & expiry 2024-03-13 02:03:44 +05:30
Neeraj Gupta 0d38346722 [cli] Add admin API to bump up storage for free users 2024-03-13 02:03:44 +05:30
Neeraj Gupta 51d3238a52 [cli] Log query params in debug mode 2024-03-13 02:03:44 +05:30
Neeraj Gupta ddd89aa1d1 [cli] Log query params in debug mode 2024-03-13 02:03:44 +05:30
Neeraj Gupta f21a627a71 Add cli generated docs inside docs/generated 2024-03-13 02:03:44 +05:30
Neeraj Gupta 063e980280 [cli] Add command to get-token 2024-03-13 02:03:44 +05:30
Neeraj Gupta d7d42b6854 [cli] Add example config file 2024-03-13 02:03:44 +05:30
Neeraj Gupta 260a7fbcaa [cli] Allow switching API host based on config 2024-03-13 02:03:44 +05:30
Quentin Bramas 55e0ec39ed add guide for self-hosting server + webapp with external S3 storage 2024-03-12 15:14:35 +01:00
Manav Rathi 9c04a7102b
[desktop] Fix desktop dev builds - Part 1 (#1063)
- Main change here is removing a submodule and moving to the upstream
dependency
- Also updated to Prettier 3

The original issue, about yarn dev not working because of context
isolation, still remains. This PR prepares the ground, will have a go at
it in a subsequent PR.
2024-03-12 18:03:10 +05:30
Manav Rathi a5e6f0cc30
Let Prettier 3 have a go at it 2024-03-12 18:01:09 +05:30
Manav Rathi 2322b41f67
Watch during dev 2024-03-12 17:56:46 +05:30
Manav Rathi 685e75d97d
Switch to upstream 2024-03-12 17:38:39 +05:30
Manav Rathi cde87716a1
Remove the custom next-electron-server
The only change this has in addition to next-electron-server seems to be
https://github.com/ente-io/next-electron-server/pull/1/files, will try to test
along the way to determine its impact.
2024-03-12 17:02:28 +05:30
Manav Rathi dff0af3397
Fix path to main process entrypoint 2024-03-12 16:47:41 +05:30
Manav Rathi ca771993ee
[desktop] Fix desktop build (#1062)
`yarn dev` is still not working, but that is a previous issue unrelated
to the monorepo migration. Will fix that in a subsequent PR.
2024-03-12 16:38:06 +05:30
Manav Rathi c8b9b4cd8f
Document better 2024-03-12 16:33:43 +05:30
Manav Rathi d7cd2cecbc
Default buildResources is build 2024-03-12 16:12:53 +05:30
Manav Rathi e219197e2f
Fix import 2024-03-12 15:07:06 +05:30
Manav Rathi 3eb84ceba8
[web] New translations (#1058)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-03-12 14:22:28 +05:30
Manav Rathi e358738c35
[workflows] Prevent duplicate runs of lint workflows after merging a PR (#1059) 2024-03-12 14:21:46 +05:30
Manav Rathi b15901df67
[workflows] Prevent duplicate runs of lint workflows after merging a PR 2024-03-12 14:14:18 +05:30
Crowdin Bot ee7d90e55b New Crowdin translations by GitHub Action 2024-03-12 08:38:32 +00:00
Manav Rathi 22b744aa96
[web] [desktop] Remove Sentry (#1057)
Sentry has a measurable impact on page load, a metric that I'm keen to
improve. Apparently by default it loses us 8-9 page speed points, though
that can be reduced to 3-4
(https://github.com/getsentry/sentry-javascript/issues/9179).

All of this is doable, but there are bigger tasks to deal with. This is
not to say that Sentry won't be useful again at some point, when we have
time to deal with it better. But right now, we discussed that it's just
better to remove Sentry instead of piling on to the sunk cost.
2024-03-12 14:07:29 +05:30
Manav Rathi 5d01931402
Retain -web suffix to allow disambiguating between main and renderer process 2024-03-12 14:06:42 +05:30