Commit Graph

571 Commits (1911fdba67130596763b762f7557374dd35103e9)

Author SHA1 Message Date
hikariatama e382cbc7a5 1.2.5
- Add additional exit on restart to avoid port block
- Add unloaded module name on `.unloadmod`
- Add `banner_url` config var to `HikkaInfo`
- Add `loader.validators.Hidden`
- Add `websockets` dependency, so users can load hikarichat on Heroku
- Add `reply_markup` kwarg to `utils.answer`. This will automatically add buttons to plain message or edit buttons of inline unit
- Add suggestion to join developer's channel on module load if available
- Add `client.force_get_entity` to bypass Hikka Cacher
- Add clickable link to loaded module message if specified meta developer is channel
- Add support of `action` attributes for buttons ("action": "close", "action": "unload", "action": "answer")
- Add log splitter between different clients of instance (if possible)
- Fix inline events `IndexError`
- Fix text in inline input
- Fix translation issue in HikkaConfig
- Fix `.dump`
- Fix modules list reset if you perform `.dlmod` when userbot is not yet fully loaded
- Update links in README
- Remove nalinor from official repos until new modules appear
2022-06-12 09:46:48 +00:00
hikariatama 491a3b3f37 [minor] Replace imgur link with github 2022-06-09 22:08:27 +00:00
hikariatama 07970bbcdf Patch for loader 2022-06-07 16:51:52 +00:00
hikariatama 7b2dc1c572 Update Changelogs 2022-06-06 16:56:53 +00:00
hikariatama ac8e7371e9 1.2.4
- Show current options in module config
- Add new validators: `loader.validators.Union`, `loader.validators.NoneType`
2022-06-06 16:54:31 +00:00
hikariatama 3725d6ed25 Patch
- Add additional Heroku deps
- Fix `load_module` reattempt
2022-06-05 17:24:18 +00:00
hikariatama 7fb206aaa0 Reorder database read-writes to make postgres the ladder 2022-06-05 16:54:38 +00:00
hikariatama 1374ddb09a Make `redis` optional for non-heroku users 2022-06-05 16:44:53 +00:00
hikariatama 4c72f638cb Add source to Pipfile 2022-06-05 16:33:03 +00:00
hikariatama 534fb32c2a Heroku Patch
- New Heroku dependencies list in Pipfile
- External Redis database support
- Mask more options in logs and .e output
- Remove psycopg2 from requirements.txt
2022-06-05 16:30:16 +00:00
hikariatama 30542381a8 Revert "[DO NOT INSTALL] - Testing Heroku-redis migration"
This reverts commit 18a0dac15d.
2022-06-05 13:34:14 +00:00
hikariatama 18a0dac15d [DO NOT INSTALL] - Testing Heroku-redis migration 2022-06-05 13:17:12 +00:00
hikariatama dc7434e036 Patch
- New installation banner
- Add automatic blob->raw convertion in loader
2022-06-05 12:58:08 +00:00
hikariatama 993b005adf Patch for Heroku
- Add banner with Hikka installation status
- Reorder config saving in web
- Fix `Unauthorized` error
2022-06-03 20:09:00 +00:00
hikariatama c410f97089 1.2.3
- Add field `action` to inline buttons. You can pass there `close` to close inline form, `unload` to unload it from memory, `answer` & `text` | `show_alert` to answer callback query with message
- Update docstrings in inline to match unified format
- Add surrogate error ignorance in dispatcher
- Fix :obj:`EntityCache` caching username `@None`
- Return :obj:`InlineMessage` in `hikka.inline.gallery.Gallery.gallery`
- Fix typo in docstring
2022-06-03 12:11:49 +00:00
hikariatama a37263a5d8 Addition to latest commit 2022-06-02 22:31:07 +00:00
hikariatama d5dedf7f4c Patch
- Fix inline list close button
- Fix `disable_notifications` param in `update_notifier.py`
- Minor core code naming
2022-06-02 22:29:44 +00:00
hikariatama 0138fe15db Fix typo 2022-06-02 16:22:38 +00:00
hikariatama 07c3cb15e6 1.2.2
- Update gitignore so git doesn't count shit on heroku
- Visual heroku fixes in updater
- Deepsource fixes
- Add `utils.get_entity_url`, `utils.get_message_link`, `utils.remove_html`, `utils.get_kwargs`
- Disable modules debugging on heroku
- Add `.nonickusers`, `.nonickcmds`, `.nonickchats`
- Update blacklist command docs
- Fix grep removing everything in <...>
- Add `loader.validators.RegExp`
- Automatically convert `None` to empty string \ zero integer etc., if validator is specified
- More meaningful errors in `inline_handler`s
- More meaningful errors in `self.inline.form`, `self.inline.gallery`, `self.inline.list` on user-side
- Allow editing\adding media to form via `call.edit`. Currently supported: `photo`, `file`, `video`, `audio`, `gif`
2022-06-02 16:15:08 +00:00
hikariatama 30e26fe117 Add ts to logs, refactor logging unit 2022-06-01 23:45:45 +00:00
hikariatama 428834990f I fucked up with method name 2022-06-01 22:38:27 +00:00
hikariatama 5ebc50c82b Fix heroku typos 2022-06-01 22:36:57 +00:00
hikariatama f622bf93c8 Add heroku specific update 2022-06-01 22:27:40 +00:00
hikariatama 071f88db5e 1.2.1
- Add termux specific requirements
- Ignore `heroku3` import error on non-heroku platforms
- Refactor `heroku.py` app searching algorithm
- Refactor postgresql database saving process
- Fix heroku restart message not being edited
- Add heroku waker
- Make `hikka-` app naming optional
2022-06-01 22:14:55 +00:00
hikariatama 9873cc50c9 Update installation script. Hide session and postgresql in eval 2022-05-31 12:36:32 +00:00
hikariatama d0dae477c6 Update README, deepsource fixes 2022-05-31 11:07:13 +00:00
hikariatama 094263a6fc Fix heroku buildpack url typo in app.json 2022-05-31 10:34:33 +00:00
hikariatama e529165c37 Patch for help and heroku
- Show modules without commands in `.help -f`
- Update `app.json`
2022-05-31 10:27:41 +00:00
hikariatama 5d21fca599 Update version and changelog 2022-05-30 21:56:56 +00:00
Dan Gazizullin 9d4e42c891
Merge pull request #41 from hikariatama/heroku_test
Release Heroku support
2022-05-31 00:39:15 +03:00
Dan Gazizullin 56910cb3b1
Merge pull request #42 from hikariatama/sourcery/heroku_test
Release Heroku support (Sourcery refactored)
2022-05-31 00:37:40 +03:00
Sourcery AI b85bdc3b26 'Refactored by Sourcery' 2022-05-30 21:35:09 +00:00
hikariatama 0db5607e49 Fix Heroku restart 2022-05-30 21:25:06 +00:00
hikariatama 1e7c0201d9 Heroku multiple accounts database, fixes 2022-05-30 20:58:20 +00:00
hikariatama e99caceb63 Database fixes for Heroku (should work hopefully) 2022-05-30 20:41:33 +00:00
hikariatama e67b98a999 Install postgresql, fix session import on heroku 2022-05-30 20:16:07 +00:00
hikariatama 867f2c542d Fix heroku session saving flow 2022-05-30 19:59:13 +00:00
hikariatama 3d9e2402c9 Do not store pending client in a 1-value list 2022-05-30 18:19:45 +00:00
hikariatama 45d18c1160 Allow app creation even if no telegram creds were specified 2022-05-30 18:05:09 +00:00
hikariatama c06db6310b Remove incompatible buildpack 2022-05-30 17:55:25 +00:00
hikariatama bd221fcb8d Mess around buildpacks 2022-05-30 17:34:19 +00:00
hikariatama bb96c7ca3b Do not ask user to enter Telegram credintials locally when installing to heroku 2022-05-30 17:25:03 +00:00
hikariatama 1288220c3f Rework session reading mechanism 2022-05-30 17:17:49 +00:00
hikariatama ed6d34cb82 Properly save Heroku session 2022-05-29 21:59:30 +00:00
hikariatama 925b1caedd Add GeekTG compat; Continue integrating Heroku 2022-05-28 08:12:36 +00:00
hikariatama 430868f5f7 Add Procfile 2022-05-28 07:47:32 +00:00
hikariatama 692402a8ea Add heroku-specific stuff 2022-05-28 07:39:24 +00:00
hikariatama 6cde31579f Testing Heroku deployment 2022-05-28 07:26:31 +00:00
hikariatama a837428cea Remove `HikkaDL` as redundant 2022-05-26 18:07:13 +00:00
hikariatama 71682ba8a1 Add `.mp4` to allowed animated media types of gallery 2022-05-26 17:07:27 +00:00