Commit graph

23885 commits

Author SHA1 Message Date
Manav Rathi
c6e1a0f59c Add mobile crowdin action 2024-03-04 11:37:21 +05:30
Manav Rathi
136124c450 WIP Resurrect web related GitHub actions 2024-03-04 11:27:01 +05:30
Manav Rathi
751db8be35
Update links to GitHub from within the apps (#640)
The links within the apps still point to the old repositories. This PR
updates them to point here instead.

> Thanks to @iAnonymous3000 and @s38b35M5 for pointing this out! 

Meanwhile I've set up redirects from the old repositories. Have done it
for

- [x] web app (e.g. see
https://github.com/ente-io/photos-web/issues/new/choose)
- [ ] mobile app
- [ ] desktop app
2024-03-03 18:27:28 +05:30
Manav Rathi
918e70b516 Update links to GitHub from within the apps 2024-03-03 18:08:11 +05:30
Manav Rathi
327385cfce
Update desktop/ & server/ to account for new monorepo structure (#521)
- **Update desktop/ to account for new monorepo structure**
- **Update server/ to account for new monorepo structure**
2024-03-02 18:06:31 +05:30
Manav Rathi
44eb8353a2 Update server/ to account for new monorepo structure 2024-03-02 18:04:59 +05:30
Manav Rathi
6f7a47f04e Update desktop/ to account for new monorepo structure 2024-03-02 17:57:37 +05:30
Neeraj Gupta
f796a7f63a
[server] Remove custom metrics for collection diff (#520) 2024-03-02 17:14:35 +05:30
Manav Rathi
deefe62250
docs: Fixed url to RUNNING.md in /server/README.md (#519)
## Description
The link to RUNNING.md in /server/README.md was wrong, just fixed it.

## Tests
N/A
2024-03-02 16:49:41 +05:30
Julien
bb32d7684a
docs: Fixed url to RUNNING.md in README 2024-03-02 10:39:26 +01:00
Manav Rathi
f1d8da88f4
Update auth/ to account for new monorepo structure (#518)
Have retained the screenshots for auth since it currently doesn't have a
separate landing page.

/cc @vishnukvmd
2024-03-02 14:28:48 +05:30
Manav Rathi
95ae7c4594 Update auth/ to account for new monorepo structure 2024-03-02 14:26:55 +05:30
Manav Rathi
8001c98897
Allow developers to customize their VSCode configuration (#516)
For folks who're using the git integration from within VSCode, the top
level directory needs to be open in VSCode for using git GUI from
VSCode.

However, for using the Run & debug configurations they need to open
ente/mobile is opened in VSCode.

As a solution (at least to start with):

- gitignore .vscode at the top level
- provide sample VSCode configuration files is mobile/docs/vscode and
auth/docs/vscode
- mention it in the README

(will update the auth README later, have to do a few more changes to it
first)
2024-03-02 13:34:37 +05:30
Vishnu Mohandas
b85e2e627e
Constrain album name's width in discovery tab (#517)
Constrain album name's width in discovery tab
2024-03-02 12:50:13 +05:30
Manav Rathi
2ed02fac15 Add folder intro 2024-03-02 12:47:40 +05:30
ashilkn
2b4c6f52b7 Merge branch 'main' into fix_discovery_tab_issues 2024-03-02 12:45:54 +05:30
Manav Rathi
6df92c1b8e Remove the color customizations since they would apply to the entire ente project 2024-03-02 12:43:56 +05:30
ashilkn
71ad1ee1dd fix(discovery-tab): constrain width of album name in albums section 2024-03-02 12:40:51 +05:30
Manav Rathi
ebe6774ff4 Allow developers to customize their VSCode configuration
For folks who're using the git integration from within VSCode, the top level
directory needs to be open in VSCode for using git GUI from VSCode.

However, for using the Run & debug configurations they need to open ente/mobile
is opened in VSCode.

As a solution

- gitignore .vscode
- provide sample VSCode configuration files is mobile/docs/vscode and auth/docs/vscode
- mention it in the README

(will update the auth README later, have to do a few more changes to it first)
2024-03-02 12:33:43 +05:30
Manav Rathi
307ddf0b33
Fix links in CONTRIBUTING.md (#514)
Fixes https://github.com/ente-io/ente/issues/512
2024-03-02 12:04:28 +05:30
Manav Rathi
1ce407481c Fix links in CONTRIBUTING.md
Fixes https://github.com/ente-io/ente/issues/512
2024-03-02 12:02:25 +05:30
Manav Rathi
24aa3b506e
Update project specific READMEs - web, mobile (#513)
Updates web/ and mobile/. Will update the others in a subsequent PR.

/cc @vishnukvmd
2024-03-02 11:49:46 +05:30
Manav Rathi
a7dbd32bc9 Update mobile/ to account for new monorepo structure 2024-03-02 11:47:47 +05:30
Manav Rathi
d869bd645f Update web/ to account for new monorepo structure 2024-03-02 10:13:51 +05:30
Vishnu Mohandas
39b4e9b694
Fix warnings (#509) 2024-03-02 08:16:17 +05:30
Vishnu Mohandas
9bcca81d0f
Fix AppStore link for Auth 2024-03-01 21:05:18 +05:30
Vishnu Mohandas
093378ff3e
Update README.md 2024-03-01 19:11:25 +05:30
Vishnu Mohandas
158047c0c2
Update README.md 2024-03-01 19:10:18 +05:30
vishnukvmd
a875cad231 Fix warnings in Photos 2024-03-01 18:54:19 +05:30
vishnukvmd
8c8723efd1 Fix warnings in Auth 2024-03-01 18:54:10 +05:30
vishnukvmd
e6ab34101f Update CLIP dependency 2024-03-01 18:53:51 +05:30
Vishnu Mohandas
6ce8b374cf
Remove tflite setup file (#508) 2024-03-01 18:09:45 +05:30
ashilkn
2341d38f4a Update README 2024-03-01 18:03:15 +05:30
ashilkn
e8dec53993 Merge branch 'main' into delete_setup_file_mobile 2024-03-01 17:42:18 +05:30
ashilkn
3cf0f9a7a2 delete setup.sh 2024-03-01 17:24:34 +05:30
Manav Rathi
3dc9cc92ef
Add README notices about the in-progress migration to this repository (#506)
Documentation only change.
2024-03-01 16:41:04 +05:30
Manav Rathi
0fc7f31818 Remove the recursive submodule 2024-03-01 16:38:56 +05:30
Manav Rathi
d7ef0e238c Add README notices about the in-progress migration to this repository 2024-03-01 16:35:45 +05:30
Manav Rathi
9cdaabc403
Move all submodules to the top level (#505)
## Description

## Tests
2024-03-01 16:16:25 +05:30
Neeraj Gupta
531bb344fe Import museum 2024-03-01 13:37:01 +05:30
Manav Rathi
e9d76688ce Move to monorepo
Move all of our code into a monorepo in preparation of open sourcing our server.

First I describe the general plan, then later I've kept an exact log of the
commands that I used. This was all done prior to this commit, but this commit
(that introduces the various top level files) seems like a good way to summarize
the entire process.

Clone auth. Auth is our base repository.

```sh
git clone https://github.com/ente-io/auth.git && cd auth
```

Move all of auth's files into `auth/`.

```sh
mkdir auth
git mv `find . -maxdepth 1 | grep -v -e '\.$' -e '\.\/.git$' -e '\.\/auth$'` auth
git commit -m 'Move into auth/'
```

Add photos-web as a new remote, and fetch its main.

```sh
git remote add photos-web https://github.com/ente-io/photos-web.git
git fetch photos-web main
```

Switch to main of web-photos.

```sh
git checkout -b photos-web-main photos-web/main
```

Move all of its files into `web` (note, the find now has an extra exclusion for
`web`, but we keep all the old ones too):

```sh
mkdir web
git mv `find . -maxdepth 1 | grep -v -e '^\.$' -e '^\.\/.git$' -e '^\.\/auth$' -e '^\.\/web$'` web
git commit -m 'Move into web/'
```

Switch back to main main, and merge the photos-web branch. The
`--allow-unrelated-histories` flag is needed (since these two branches don't
have any previous common ancestor).

```sh
git checkout main
git merge --allow-unrelated-histories photos-web-main
```

That's it. We then repeat this process for all the other repositories that we
need to bring in.

There is no magic involved here, so regular git commands will continue working.
However, all the files get renamed, so to track the git history prior to this
rename commit we'll need to pass the `--follow` flag.

    git log --follow -p -- auth/migration-guides/encrypted_export.md

For some file names like README.md which exist in multiple repositories, this
doesn't seem to work so good (I don't fully understand why). For example,
`git log --follow -p -- auth/README.md lists the changes to all the READMEs,
not just the auth README.md.

```sh

git clone https://github.com/ente-io/auth.git ente
cd ente

mkdir auth
git mv `find . -maxdepth 1 | grep -v -e '\.$' -e '\.\/.git$' -e '\.\/auth$'` auth
git commit -m 'Move into auth/'

git remote add photos-web https://github.com/ente-io/photos-web.git
git fetch photos-web main
git checkout -b photos-web-main photos-web/main

mkdir web
git mv `find . -maxdepth 1 | grep -v -e '^\.$' -e '^\.\/.git$' -e '^\.\/auth$' -e '^\.\/web$'` web
git commit -m 'Move into web/'

git checkout main
git merge --allow-unrelated-histories photos-web-main
git branch -D photos-web-main
git remote remove photos-web

git remote add photos-app https://github.com/ente-io/photos-app.git
git fetch photos-app main
git checkout -b photos-app-main photos-app/main

mkdir mobile
git mv `find . -maxdepth 1 | grep -v -e '^\.$' -e '^\.\/.git$' -e '^\.\/auth$' -e '^\.\/web$' -e '^\.\/mobile$'` mobile
git commit -m 'Move into mobile/'

git checkout main
git merge --allow-unrelated-histories photos-app-main
git branch -D photos-app-main
git remote remove photos-app

git remote add photos-desktop https://github.com/ente-io/photos-desktop.git
git fetch photos-desktop main
git checkout -b photos-desktop-main photos-desktop/main

mkdir desktop
git mv `find . -maxdepth 1 | grep -v -e '^\.$' -e '^\.\/.git$' -e '^\./.gitmodules$' -e '^\.\/desktop$'` desktop
git mv .gitmodules desktop
git commit -m 'Move into desktop/'

git checkout main
git merge --allow-unrelated-histories photos-desktop-main
git branch -D photos-desktop-main
git remote remove photos-desktop

git remote add cli https://github.com/ente-io/cli.git
git fetch cli main
git checkout -b cli-main cli/main

mkdir cli
git mv `find . -maxdepth 1 | grep -v -e '^\.$' -e '^\.\/.git$' -e '^\.\/cli$'` cli
git commit -m 'Move into cli/'

git checkout main
git merge --allow-unrelated-histories cli-main
git branch -D cli-main
git remote remove cli

git remote add docs https://github.com/ente-io/docs.git
git fetch docs main
git checkout -b docs-main docs/main

mkdir docs-1
git mv `find . -maxdepth 1 | grep -v -e '^\.$' -e '^\.\/.git$' -e '^\.\/docs-1$'` docs-1
git mv docs-1 docs
git commit -m 'Move into docs/'

git checkout main
git merge --allow-unrelated-histories docs-main
git branch -D docs-main
git remote remove docs
```
2024-03-01 13:01:41 +05:30
Manav Rathi
0ccc98425e Merge branch 'docs-main' 2024-03-01 12:44:05 +05:30
Manav Rathi
6dfc059073 Move into docs/ 2024-03-01 12:43:55 +05:30
Manav Rathi
40c31cc24e Merge branch 'cli-main' 2024-03-01 12:39:09 +05:30
Manav Rathi
39ef006532 Move into cli/ 2024-03-01 12:39:01 +05:30
Manav Rathi
52334204fa Merge branch 'photos-desktop-main' 2024-03-01 12:36:43 +05:30
Manav Rathi
1ac5222b09 Move into desktop/ 2024-03-01 12:36:35 +05:30
Manav Rathi
d683d905e3 Merge branch 'photos-app-main' 2024-03-01 12:25:48 +05:30
Manav Rathi
41b2581b8f Move into mobile/ 2024-03-01 12:25:37 +05:30
Manav Rathi
4b1850914d Merge branch 'photos-web-main' 2024-03-01 12:21:44 +05:30