Commit Graph

17 Commits

Author SHA1 Message Date
Tulir Asokan d124008443 store: fix latest version number 2026-03-29 17:13:02 +03:00
Tulir Asokan 4f4680b19a store: add more info to telegram_file table 2026-03-29 16:37:06 +03:00
Tulir Asokan 5d05d7ab05 store: normalize ids in telegram_file and add index 2026-03-29 14:05:17 +03:00
Tulir Asokan d5f87d2ec1 all: add support for topics and refactor other things 2025-12-06 15:27:51 +02:00
Tulir Asokan ef23946cbc store: remove redundant index 2025-12-05 23:45:41 +02:00
Tulir Asokan 34683e6d1b handletelegram: fix disabling disappearing timer 2025-09-13 01:39:45 +03:00
Tulir Asokan 0051042555 database: migrate disappearing timer to standard location (#121) 2025-09-12 18:35:09 +03:00
Sumner Evans c6e96682b6 treewide: separate user and channel namespaces
Signed-off-by: Sumner Evans <sumner.evans@automattic.com>
2024-09-25 07:16:05 -06:00
Sumner Evans 196eaac917 snc: use local caches for resolving identifiers
Signed-off-by: Sumner Evans <sumner.evans@automattic.com>
2024-08-22 13:47:55 -06:00
Sumner Evans 15b0dc51b3 snc: implement resolving Telegram IDs, usernames, and phone numbers
Signed-off-by: Sumner Evans <sumner.evans@automattic.com>
2024-08-22 12:18:21 -06:00
Tulir Asokan b25c09fc53 store: refactor access hash and session tables
* Move sessions to user_login metadata, as that data rarely changes after login.
* Merge user and channel access hashes. Those IDs don't conflict.
* Split usernames into a new table to allow better `ON CONFLICT` updates
  (when a username moves to another entity, we want the old row to be replaced).
  Usernames also don't need to be scoped to a login.
2024-08-22 17:54:10 +03:00
Tulir Asokan e611c87342 all: add some todos and fix small issues 2024-08-22 17:53:50 +03:00
Sumner Evans d11af1a463 db: fix latest revision
Signed-off-by: Sumner Evans <sumner.evans@automattic.com>
2024-08-20 14:12:42 -06:00
Sumner Evans 838f291220 store: move the access_hash and username to separate per-user table
Signed-off-by: Sumner Evans <sumner.evans@automattic.com>
2024-08-08 12:12:17 -06:00
Sumner Evans f56f520308 (telegram|matrix)fmt: mention formatting
Signed-off-by: Sumner Evans <sumner.evans@automattic.com>
2024-08-05 15:19:53 -06:00
Sumner Evans a63f264804 reactions: support custom emojis
Signed-off-by: Sumner Evans <sumner.evans@automattic.com>
2024-07-09 14:04:25 -06:00
Sumner Evans 0921168b91 pkg/store -> pkg/connector/store
Signed-off-by: Sumner Evans <sumner.evans@automattic.com>
2024-07-08 08:47:30 -06:00