Commit graph

24537 commits

Author SHA1 Message Date
ashilkn 953824ca25 Refactor: reduce parameters and change name of function 2024-03-21 19:54:31 +05:30
ashilkn 7c05069dbd fix(viewing proXDR images): When codec fails to produce an image, try converting image to jpeg and use the jpeg file for viewing the image 2024-03-21 16:26:09 +05:30
Manav Rathi e58ef51d12
[docs] Update sharing-logs.md (#1169)
Removing unnecessary formatting
2024-03-21 12:03:50 +05:30
Jishnuraj9 e4b0cca777
[docs] Update sharing-logs.md
Removing unecessary formatting
2024-03-21 12:01:39 +05:30
Vishnu Mohandas 11e30cf79a
Update quick-link.md 2024-03-21 11:53:27 +05:30
Vishnu Mohandas 21526722df
Update and rename public-links.md to public-link.md 2024-03-21 11:43:43 +05:30
Manav Rathi 1361ca0c8e
[docs] import FAQs and other docs from website (#1167)
- Documentation only change.
- Verified visually, and that `yarn build` runs.
2024-03-20 22:16:47 +05:30
Manav Rathi a4b8571642
Fixes and tweaks 2024-03-20 21:54:55 +05:30
Manav Rathi 2a5d9cd47f
yarn pretty 2024-03-20 21:26:50 +05:30
Manav Rathi 93e187d9e7
Import the remaining FAQs 2024-03-20 21:24:49 +05:30
Manav Rathi 1acbe806ae
Import feature pages from website 2024-03-20 20:30:59 +05:30
Manav Rathi b1ab27e42c
Rearrange 2024-03-20 19:55:17 +05:30
Manav Rathi 5710dec46b
Fix index 2024-03-20 19:51:24 +05:30
Manav Rathi 3a2c7ce5f9
Import migration guides from website
Needed tweaking to handle Gatsby => Vitepress
2024-03-20 17:31:04 +05:30
Manav Rathi 46d7803da0
[meta] Fix the docs deployment workflow (#1161)
Fix what I accidentally broke in
https://github.com/ente-io/ente/pull/1149
2024-03-20 16:49:33 +05:30
Manav Rathi 19c2f07a19
[meta] Fix the docs deployment workflow
Fix what I accidentally broke in https://github.com/ente-io/ente/pull/1149
2024-03-20 16:46:18 +05:30
github-actions[bot] 43ebd7147d
[auth] New translations (#1141) 2024-03-20 16:19:39 +05:30
Manav Rathi 812e02d4d7
Update sharing-logs.md (#1160)
Documentation change
2024-03-20 15:54:03 +05:30
Vishnu Mohandas 8101fe1495
Patch few Stripe related issues (#1156) 2024-03-20 14:07:26 +05:30
vishnukvmd ec258e8b2a Extract the payments redirect URL into an environment variable 2024-03-20 14:06:53 +05:30
vishnukvmd b769c428eb Hide the dialog on page load 2024-03-20 14:05:23 +05:30
vishnukvmd 61d5f3189b Update cancellation status on receiving webhook from Stripe 2024-03-20 14:05:09 +05:30
Manav Rathi 7cc795ead3
[infra] Mention that logging to stdout is a good default for services (#1155)
Documentation only change.
2024-03-20 11:29:23 +05:30
Manav Rathi e25089a55c
[infra] Mention that logging to stdout is a good default for services 2024-03-20 11:28:40 +05:30
Jishnuraj9 964fc8c992
Update sharing-logs.md 2024-03-20 11:15:19 +05:30
Manav Rathi b77ac2a2d8
[workers] Fallback to plain text Discord message as a 429 workaround (#1154)
**Tested by**

Deployed, and redelivered a few recent messages to see that they're
falling back to the fallback.
2024-03-20 09:58:06 +05:30
Manav Rathi 35ba5b6685
[workers] Fallback to plain text Discord message as a 429 workaround 2024-03-20 09:56:14 +05:30
Manav Rathi 2bf03cbcaf
[photos-desktop] Enable contextIsolation - Part 1 (#1153)
The desktop app in its current state does not function. More PRs will
come, but I wanted to keep this branch in sync with main instead of
continually rebasing it. Now that the photos app has been deployed, it
is a good idea to merge these changes.

Have paid extra attention to ensure that the diff for the web changes is
correct and does not introduce bugs.
2024-03-19 19:25:17 +05:30
Manav Rathi 8f2bb9c861
Add note about custom errors 2024-03-19 19:18:05 +05:30
Manav Rathi 83477cfe37
Forward clearElectronStore 2024-03-19 19:18:05 +05:30
Manav Rathi 3ce8513e48
Move more standalone methods to preload 2024-03-19 19:18:05 +05:30
Manav Rathi b3289f2b8d
Remove (kindof) unused reloadWindow IPC
We now bundle the renderer code within the app. So a load-fail indicates
something really wrong, not something we can deal with upfront (the code wasn't
probably even working - e.g. it was assigning to a function parameter
mainWindow, not the actual global var behind it).
2024-03-19 19:18:05 +05:30
Manav Rathi 3a6c7b2dcd
Remove unused sendNotification IPC 2024-03-19 19:18:05 +05:30
Manav Rathi 502469e97f
Move some non-duplicated FS related functions to preload 2024-03-19 19:18:05 +05:30
Manav Rathi c98762b448
Inline ML related functions 2024-03-19 19:18:05 +05:30
Manav Rathi e00b8fd2f1
Remove unused IPC for getPlatform 2024-03-19 19:18:05 +05:30
Manav Rathi eeaa5165ab
Remove custom cache directory
From discussions, it seems that it was pre-emptively added but not specifically
requested by a customer. We can bring this back later if needed, or at least
offer better options to clean it, but for now I'm pruning the IPC surface to
reduce the amount of work needed for handling contextIsolation and sandboxing.
2024-03-19 19:18:04 +05:30
Manav Rathi e4684b22df
Move out the electron-builder config to separate file 2024-03-19 19:17:01 +05:30
Manav Rathi d80fad6cf1
Remove unused vscode extension support
This doesn't belong in the repo even if were used
https://github.com/standard/vscode-standard
2024-03-19 19:17:01 +05:30
Manav Rathi a8de049519
Update concurrently's major version
No breaking changes that impact us - https://github.com/open-cli-tools/concurrently/releases
2024-03-19 19:17:01 +05:30
Manav Rathi e9fa525fe9
Remove unused electron-download
It was used for downloading symbols
2024-03-19 19:17:01 +05:30
Manav Rathi bff58f7b78
Update eslint settings to match main project 2024-03-19 19:17:01 +05:30
Manav Rathi a0f95b6080
Settle on a tsconfig for now
Electron also comes with its own type definitions, and from a (possibly dated)
blog post announcing this I got that we should not be overriding it with
@types/node: https://www.electronjs.org/pt/blog/typescript
2024-03-19 19:17:01 +05:30
Manav Rathi c19370ec51
Outline an ideal tsconfig.json 2024-03-19 19:17:01 +05:30
Manav Rathi 341f0fa559
Upgrade TypeScript 2024-03-19 19:17:01 +05:30
Manav Rathi e64d44639d
Document the conceputal way forward
Alternatives considered:

- https://github.com/alex8088/electron-toolkit
- https://electron-vite.org/
- https://github.com/cawa-93/vite-electron-builder/
2024-03-19 19:17:01 +05:30
Manav Rathi 04b9966425
Quicker quick
Ref: https://webpack.electron.build/building
2024-03-19 19:17:01 +05:30
Manav Rathi 0e861d5c48
Add some notes
The helpful snippet about the purpose of install-app-deps taken from
https://webpack.electron.build/dependency-management
2024-03-19 19:17:01 +05:30
Manav Rathi b7b33eba4a
Switch to contextBridge - Part 1 2024-03-19 19:17:01 +05:30
Manav Rathi 1266648562
Merge docs 2024-03-19 19:17:01 +05:30