Commit Graph

37086 Commits

Author SHA1 Message Date
Manav Rathi
4e9e50fc4b nf 2025-01-10 18:00:40 +05:30
Manav Rathi
21c6e1eae2 Move 2025-01-10 17:26:18 +05:30
Manav Rathi
c9c36f7419 Minor ver updates 2025-01-10 17:11:59 +05:30
Manav Rathi
efcc7b6342 [web] Remove global styles (3/4) (#4659)
Only apps/photos is left.
2025-01-10 16:53:37 +05:30
Manav Rathi
ea2e9f1fd4 lf 2025-01-10 16:32:45 +05:30
Manav Rathi
b78efd441d Unglob 2025-01-10 16:26:11 +05:30
Manav Rathi
d87f8e04ee Unused 2025-01-10 16:25:16 +05:30
Manav Rathi
d2a787acbe Conv 2025-01-10 16:24:51 +05:30
Manav Rathi
b781e5a536 Use 2025-01-10 16:21:36 +05:30
Manav Rathi
2b72cd718e Prune 2025-01-10 16:15:35 +05:30
Manav Rathi
9618cd64c1 Update 2025-01-10 15:49:04 +05:30
Manav Rathi
874a7121b2 Use 2025-01-10 15:41:34 +05:30
Manav Rathi
1ea632d3e7 Reuse 2025-01-10 15:37:50 +05:30
Manav Rathi
c322bc7b04 Scope 2025-01-10 14:53:51 +05:30
Manav Rathi
705a93e6d6 Fix 2025-01-10 14:51:32 +05:30
Manav Rathi
6967fa4caf Update 2025-01-10 14:49:35 +05:30
Manav Rathi
54d3e8f7f5 Conv 2025-01-10 14:48:35 +05:30
Manav Rathi
46d0a6f1c8 Prune 2025-01-10 14:41:59 +05:30
Manav Rathi
96f3c7dd45 Auth doesn't have sidebar to redirect to change-email 2025-01-10 14:38:19 +05:30
Manav Rathi
0168e1d851 Prune 2025-01-10 14:36:31 +05:30
Manav Rathi
563df12262 conv 2025-01-10 14:34:01 +05:30
Manav Rathi
625be594d6 Fix 2025-01-10 14:31:27 +05:30
Manav Rathi
563834a8fd gen 2025-01-10 14:27:19 +05:30
Manav Rathi
bb0294ef64 li 2025-01-10 14:20:55 +05:30
Manav Rathi
2368225578 Tweak 2025-01-10 13:57:41 +05:30
Manav Rathi
6a263e2176 Conv 2025-01-10 13:53:46 +05:30
Manav Rathi
642c9e611b Conv 2025-01-10 12:53:55 +05:30
Manav Rathi
fdded49bda Conv 2025-01-10 12:45:02 +05:30
Manav Rathi
17dd67afc0 Conv 2025-01-10 12:38:03 +05:30
Manav Rathi
ad5cad8e97 Reuse 2025-01-10 12:35:23 +05:30
Manav Rathi
5d7ca1ac44 Bespoke 2025-01-10 12:27:41 +05:30
Manav Rathi
c8b64f585c Fix 2025-01-10 12:09:16 +05:30
Manav Rathi
6db59247cd L2 2025-01-10 12:05:10 +05:30
Manav Rathi
96305adedc Tweak 2025-01-10 11:50:55 +05:30
Manav Rathi
6bef1d2e20 New layout 2025-01-10 11:49:27 +05:30
Neeraj
0a8f7a995b Fixes to make the source 32bit compatible (#4643)
## Description
I have tried to build ente server using the source and have found
various bugs that in a 64bit system would not pose an issue but when ran
on 32bit architecture would result in errors. After the fixes, Ente
works beautifully.

## Why bother merging?
I understand that Ente does not support 32bit architectures by nature
and hence there would be no point in merging this PR and solving these
issues but I have put this PR out there in hopes that it helps others
run Ente on their own desired architecture.

## Changes Description
1. `billing.go` - `storage` variables are not properly typed as int64
despite them being able to hold more than the 32bit integer limit. On a
32bit system, this will lead to an integer overflow (especially with the
default 5GB value). Typing them appropriately as an int64 will resolve
this bug and have no impacts on a 64bit execution.
2. `rate_limit.go` - The code as is will result in an unaligned 64bit
atomic operation ([read
more](https://blog.openziti.io/my-pi-day-journey-with-go-64-bit-alignment)).
In short, the fields were ordered in a way that `count` would start at
the middle of an 8-byte block which is not permitted. Aligning it by
reordering it does not affect the functional aspect but in terms of
golang's memory management, the int64 fields are now properly at an
8-byte boundary, fixing the issue.

## Other 32bit changes
To other open source tinkerers out there, if you wish to use Ente on a
32bit architecture, the dependencies will also need to be recompiled and
rebuilt as they do not have openly available docker images for arm32.
Feel free to use [my built
images](https://github.com/fourjr/ente-megarepo-arm32v7).
2025-01-10 11:19:59 +05:30
Neeraj
d8c68ed0ee [auth] Add QR Code Scanning from Saved Images for 2FA Setup (#4457) 2025-01-10 11:16:17 +05:30
Neeraj
683506a54e [mob] Improve index fetch when localIndexing is disabled (#4650)
## Description

## Tests
2025-01-10 10:57:47 +05:30
Manav Rathi
50350c6cc7 Up 2025-01-10 10:46:30 +05:30
Manav Rathi
43bc1b1374 Abstract 2025-01-10 10:33:58 +05:30
Manav Rathi
a859386edb R 2025-01-10 10:25:30 +05:30
Manav Rathi
fa9ba408a3 T 2025-01-10 10:08:17 +05:30
Manav Rathi
f3efad60f3 logs 2025-01-10 08:45:40 +05:30
Manav Rathi
287add7bb7 Remove glob 2025-01-10 08:30:44 +05:30
Manav Rathi
f00bc2ca5b Tweak 2025-01-10 08:28:54 +05:30
Manav Rathi
5e28110fc9 wip unglob 2025-01-10 08:21:03 +05:30
Manav Rathi
b921ca7493 wip Ungloblicate 2025-01-10 08:20:52 +05:30
Manav Rathi
c9b0b1ceea Remove global 2025-01-10 07:47:46 +05:30
Manav Rathi
bfaae99aaf Towards removing the global styles 2025-01-10 07:24:19 +05:30
Manav Rathi
cce6562a4d Comment 2025-01-10 07:21:49 +05:30