Commit graph

97 commits

Author SHA1 Message Date
ad0eaf0612
Add missing libressl parameter
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2023-05-31 11:22:12 +05:30
f56c7e2ac8
Add a bit of comments
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2023-05-31 11:03:17 +05:30
12aa976a20
Use libressl instead of openssl
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2023-05-31 11:01:57 +05:30
5eab571e37
Include upstream patch to fix libressl
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2023-05-31 10:58:08 +05:30
eea438b3ab
Build nim from source instead of prebuilts
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2023-05-31 10:57:11 +05:30
364d2a9121
Uprev botapi
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2023-05-31 08:18:55 +05:30
9d1c116643
Update copyright for 2023
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2023-05-25 11:24:12 +05:30
b7fb137def
Fix deeplinks on ios
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2023-05-25 11:23:51 +05:30
13e1931345
Update nimble in the builder
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2023-04-21 10:48:07 +05:30
e64874d8e6
Bump up telebot and norm
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2023-04-21 10:36:14 +05:30
7471b4a01c
Bump up telebot and norm
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2023-03-04 23:14:49 +05:30
478e89b140
Raise connection pool for db
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2023-01-05 14:31:30 +05:30
eb28ca0878
Uprev norm and telebot
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2023-01-05 12:04:15 +05:30
79d18fd81c
Drop docker on ci
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-12-09 22:34:54 +05:30
2d20838f52
Dont enforce short name resolution
We can pull from anywhere it doesnt matter

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-11-27 12:52:22 +05:30
3815af986b
Use podman for building
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-11-27 12:46:07 +05:30
20f397135b
REFACTOR: Use connection pooling
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-11-12 13:35:24 +05:30
f0954bdcbc
Upgrade norm
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-11-12 13:07:04 +05:30
4b55b1575c
Use proper fields for sendPhoto and sendDocument
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-11-12 13:05:32 +05:30
993b7a78a9
Bump up norm and bot api
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-08-22 14:06:24 +05:30
33894b0501
Dont make db calls if the inline query is null
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-08-22 14:04:48 +05:30
4b0974bfa1
Ignore JB specific folder
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-08-04 17:51:39 +05:30
2fe2e7ca3d
Uprev norm
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-08-04 17:50:32 +05:30
fc70ae28d2
Use mm orc
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-07-22 11:22:36 +05:30
78964cdd45
Allow admins to forego ratelimits
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-05-08 21:46:46 +05:30
99868f5986
Add back stripping and use GCC LTO
I have tested this to work fine for a few days now

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-05-08 20:29:52 +05:30
33cb215065
Revert: Switch to LXC Runner
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-05-08 18:27:02 +05:30
c20a075605
Remove LTO, potential cause of memleak
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-05-01 03:06:31 +05:30
b0a7dfff00
Use openssl 3.0 to statically link
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-05-01 03:05:47 +05:30
924256b085
Partially Revert the performance improvments
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-05-01 02:47:42 +05:30
8927631239
Postgres is no longer supported
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-04-26 12:29:24 +05:30
28e703b563
Use scratch container instead of using distroless
We save more storage by moving to scratch

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-04-25 12:32:20 +05:30
3ff60f8c18
Align the deps properly
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-04-25 12:21:13 +05:30
16e6d2f724
Revert: Move to libressl
Libressl does bring 1mb improvement, but its causing issues

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-04-25 12:17:53 +05:30
7ffa1bdabf
Strip the binaries further to reduce size
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-04-25 11:43:54 +05:30
82f90edec7
Silence autogen output
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-04-25 11:43:26 +05:30
13d08267a7
Enable panics
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-04-25 11:42:45 +05:30
1a736e84ce
Use libressl from source instead of openssl
Brings down our binary size by another mb

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-04-25 11:42:08 +05:30
6d7ecb36a0
Add back forgotten clang
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-04-25 11:38:19 +05:30
b8b09f17a8
Use gc arc
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-04-25 11:15:44 +05:30
3cb6f91086
Some more size optimizations
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-04-25 10:33:18 +05:30
37c7687784
Dont run runtime safety checks
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-04-25 10:32:14 +05:30
26fedf56b0
Use LLD linker
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-04-25 10:27:55 +05:30
a49e047457
Do full LTO instead of thinLTO
Saves us 0.85MB

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-04-25 10:27:35 +05:30
15dbf2f29d
Do LTO on the binary
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-04-25 10:08:24 +05:30
c77bc890cb
Optimize for speed instead of size
The gain is actually just 0.2MB

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-04-25 10:07:06 +05:30
3939ad5069
Use NSFW instead of Censored in output
We should be clear to tell users that the media is nsfw and its fully at their own risk

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-04-23 18:38:51 +05:30
26aaa13f60
Fix start command
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-04-17 20:24:20 +05:30
1953d6f2cf
Dont send ftype on album
Album can contain heterogeneous types

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-04-17 20:20:59 +05:30
c7d6d284b6
Uprev bot version
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-04-17 20:18:38 +05:30