Commit graph

57 commits

Author SHA1 Message Date
Ari Archer 1443f1006c
0.1.5: fix #18
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
2023-01-15 15:38:16 +02:00
Ari Archer 44cd4a686e
0.1.4: fix version
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
2023-01-13 18:15:50 +02:00
Ari Archer 2f79df3812
add animated_sticker
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
2023-01-13 18:08:03 +02:00
Ari Archer be1781416a
Add the state of the project as of today
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
2022-08-29 00:18:16 +03:00
Ari Archer f05436789d
Remove workflow
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
2022-06-22 15:55:45 +03:00
Ari Archer f5963b11c2
Remove codeql
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
2022-04-05 14:06:28 +03:00
Ari Archer 8adea1a540
Fix version
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
2022-03-25 18:21:30 +02:00
Ari Archer 69d04a0b62
FIx CI
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
2022-03-25 18:04:23 +02:00
Ari Archer b0c3782ccc
Class API communication canges
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
2022-03-25 17:54:23 +02:00
Ari Archer fadf4f6073
Restore ./do: d43375b143
Signed-off-by: Ari Archer <truncateddinosour@gmail.com>
2022-02-17 00:46:51 +02:00
Ari Archer 4a1ef1bf8d
Fixed CI and MsgProxy.get() method
Signed-off-by: Ari Archer <truncateddinosour@gmail.com>
2022-02-17 00:42:21 +02:00
Ari Archer 6d987bdfb5
CI: Ignore symbols
Signed-off-by: Ari Archer <truncateddinosour@gmail.com>
2022-02-17 00:36:18 +02:00
Ari Archer 6ceb940e4f
CI: fix
Signed-off-by: Ari Archer <truncateddinosour@gmail.com>
2022-02-17 00:33:49 +02:00
Ari Archer d43375b143
Added more config
Signed-off-by: Ari Archer <truncateddinosour@gmail.com>
2022-02-17 00:23:03 +02:00
TruncatedDinosour c65d04f67c
Merge pull request #9 from FraSharp/main
various changes to support arm64 Apple Silicon based devices
2022-02-16 22:20:27 +00:00
TruncatedDinosour 086225e905
CI: update python 2022-02-16 22:18:24 +00:00
TruncatedDinosour 4b9b212c9e
Update views.py 2022-02-16 22:15:24 +00:00
TruncatedDinosour c55c1dfcd9
Update msg.py 2022-02-16 22:11:28 +00:00
FraSharp 29009baf1a Merge branch 'main' of https://github.com/FraSharp/arigram 2022-02-16 23:11:02 +01:00
FraSharp f2cb539b5c Revert "pyproject: bump to 0.2.0"
This reverts commit 15220a3e98.
2022-02-16 23:10:49 +01:00
TruncatedDinosour 505e205e7c
Update controllers.py 2022-02-16 22:09:08 +00:00
TruncatedDinosour d18880eb2c
Update msg.py 2022-02-16 22:06:47 +00:00
TruncatedDinosour dcf75dc001
Update controllers.py 2022-02-16 22:04:06 +00:00
FraSharp 15220a3e98 pyproject: bump to 0.2.0
Signed-off-by: FraSharp <s23265@iisve.it>
2022-02-16 22:53:21 +01:00
FraSharp be065a879d tdlib-*-prebuilts: add darwin-arm64 libtdjson prebuilt
Signed-off-by: FraSharp <s23265@iisve.it>
2022-02-16 22:48:52 +01:00
FraSharp 13a1c1f350 README: add temporary workaround for libtdjson with Apple Silicon SoC based devices
Signed-off-by: FraSharp <s23265@iisve.it>
2022-02-16 22:47:52 +01:00
FraSharp 02f831082b gitignore: ignore .DS_Store
Signed-off-by: FraSharp <s23265@iisve.it>
2022-02-16 22:46:44 +01:00
FraSharp 861a59e8c8 README: tdlib from brew is now [1.8.0]
Signed-off-by: FraSharp <s23265@iisve.it>
2022-02-16 22:36:27 +01:00
FraSharp 22582cab42 arigram: use sender_id instead of sender
* it thrown a KeyError which lead the whole UI not to render.

Stacktrace:
  GNU nano 6.1                                                                             .local/share/arigram/error.log
ERROR [2022-02-16 21:43:03,216] controllers.py:922 - draw | Error happened in draw loop
Traceback (most recent call last):
  File /Users/francescoduca/.local/src/arigram/arigram/controllers.py, line 920, in draw
    fun()
  File /Users/francescoduca/.local/src/arigram/arigram/controllers.py, line 913, in _resize
    self._render()
  File /Users/francescoduca/.local/src/arigram/arigram/controllers.py, line 940, in _render
    self._render_chats()
  File /Users/francescoduca/.local/src/arigram/arigram/controllers.py, line 957, in _render_chats
    self.view.chats.draw(selected_chat, chats, self.model.chats.title)
  File /Users/francescoduca/.local/src/arigram/arigram/views.py, line 234, in draw
    last_msg_sender, last_msg = self._get_last_msg_data(chat)
  File /Users/francescoduca/.local/src/arigram/arigram/views.py, line 267, in _get_last_msg_data
    user, last_msg = get_last_msg(chat, self.model.users)
  File /Users/francescoduca/.local/src/arigram/arigram/views.py, line 631, in get_last_msg
    last_msg[sender].get(user_id),
KeyError: 'sender'

Signed-off-by: FraSharp <s23265@iisve.it>
2022-02-16 22:30:07 +01:00
FraSharp 18403f6907 do: remove poetry update and poetry lock
* they were restoring typed-st to [1.4.3].

Signed-off-by: FraSharp <s23265@iisve.it>
2022-02-16 21:41:20 +01:00
FraSharp 7baa6db12f poetry: upgrade typed-st source to 1.5.2
* typed-st [1.4.3], when compiled with newer clang versions (e.g. Apple Clang 13.0.1) and with --std=c99, throws an implicit declaration, which has been fixed in typed-st [1.5.2].

Stacktrace: ast3/Python/ast.c:4514:9: error: implicit declaration of function '_PyUnicode_DecodeUnicodeEscape' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
            v = _PyUnicode_DecodeUnicodeEscape(s, len, NULL, &first_invalid_escape);
                ^
Signed-off-by: FraSharp <s23265@iisve.it>
2022-02-16 21:40:27 +01:00
Ari Archer 686501546a
[README] Color -> Colour
Signed-off-by: Ari Archer <truncateddinosour@gmail.com>
2022-01-01 03:39:30 +02:00
Ari Archer 9bfc08f357
[CORE] improved code, formatting and fixed some bugs
- Added a better `.gitignore`
- Formatted the `do` script better, made it better in general
- Improved instalation and upgrading instructons
- Removed arrow key support
- Imrproved `README.md` formatting
- Improved the runtime (`__main__.py`) script, improved formatting,
  handling of arguments and added docstrings
- Renamed `colors` to `colours`
- Added type hints to the config file and improved how it handles some
  things
- Improved chat action strings (e.g `uploading video` -> `is uploading a video`)
- Made `COPY_CMD` deprecated, using `pyperclip` instead
- Changed dependency for stability from dynamic to exact
  (`python-telegram>=....` to `python-telegram==....`)

Signed-off-by: Ari Archer <truncateddinosour@gmail.com>
2022-01-01 03:21:24 +02:00
Ari Archer b22d3100dc
Fixed formatting and imports 2021-12-13 19:12:59 +02:00
Ari Archer 4afd9bed3a
Push local changes (check description)
- Found more bugs
- Added more TODOs
- Added more functionality to `do`
- Fixed README
- Bump version
- Implement drafts
- Escape sequences in messages are now supported
2021-12-13 19:06:56 +02:00
Ari Archer a6fc06fcc7
Fixed CI, reformatted code, sorted imports 2021-12-04 22:19:55 +02:00
Ari Archer 94ce9fe73c
Implement do push, fixed some API issues and completed more TODOs
- Added drafts
- Fixed some API issues
- Add `do push`
- Added codeQL workflow
2021-12-04 22:15:03 +02:00
Ari Archer c46f7233b5
bump python-telegram from 0.14.0 to >0.15.0 2021-12-03 22:06:55 +02:00
Ari Archer 965607a778
removed unused imports 2021-12-02 20:01:23 +02:00
Ari Archer 52e353e9aa
fixed imports 2021-12-02 19:59:19 +02:00
Ari Archer 0c3a09c2f1
fixed formatting, type checking and imports 2021-12-02 19:57:17 +02:00
Ari Archer 4a0c9a26eb
fixed poetry build dependencies 2021-12-02 19:51:53 +02:00
Ari Archer 3f768ff00f
TODOs, improved README and in general code improvements.
- Added upgrading instructions in README
- Improved installation instructions
- Better keymapping support (more customisable)
- More low-level customisation
- Proper daemon initialisation
- Completed some TODOs in code and in README
- Made input design more consistant
- Custom extensions
- Removed/renabled useless variables
- Fixed bugs with update handlers
- Fixed requirement formatting and versioning
2021-12-02 19:40:19 +02:00
Ari Archer 71426da2c5
fixed README.md typos 2021-11-29 21:40:38 +02:00
Ari Archer 958c3e9a70
fixed CI 2021-11-29 16:51:04 +02:00
Ari Archer 5ed3e9b1bf
fixed CI 2021-11-29 16:47:25 +02:00
Ari Archer 031d9c6399
fixed CI.. again, also type hinting callables is a pain 2021-11-29 16:40:19 +02:00
Ari Archer 39f53ce99e
fixed CI 2021-11-29 16:37:15 +02:00
Ari Archer 410621da7d
fixes 2021-11-29 16:33:18 +02:00
Ari Archer df85f57ba7
fixed CI 2021-11-28 20:23:27 +02:00