Commit graph

15 commits

Author SHA1 Message Date
Sefa Eyeoglu
1b8366f9b1 fix(nix): fix formatting
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-05-01 11:26:20 +02:00
Sefa Eyeoglu
b37602a263
fix(nix): fix container architecture
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-05-01 11:06:51 +02:00
seth
203dad0703 nix: remove subflake 2024-05-01 10:40:00 +02:00
seth
921540e249
nix: move dev outputs to subflake 2024-04-10 01:04:07 -04:00
seth
3c4cf67bbf
nix: naersk/fenix -> rustPlatform/rust-overlay 2024-03-24 15:08:45 -04:00
TheKodeToad
9d0c022c68
Many fixes and tweaks
* Fix tags (again?)

* Make tag names more consistent

* Remove prefix commands (not implemented well and not worth fixing)

* Allow '-'s in tags

* Fix /joke

* Fix /members

* Fix intel_hd issue match

* Fix log analysis reply

* Clearer log analysis messages

It's weird to say the process failed when no issues were found.

* Clippy

* Final doc cleanup

* Fix link expanding

* Fix duplicate event filtering

The other code simply does not work. ChannelId does have a method to grab members but I'm not sure whether it would work either.

* Remove message resolution

It's surprisingly hard to create an bug-free implementation.

* Fix pluralkit detection

* simplify tag codegen

* commands: improve error handling in members

unwrap() bad!!!11!!

* events: use debug logs for pk checks

* Revert "Remove message resolution"

This reverts commit 0d9f224a81917212adafdeb2213f3cc11b44cf88.

* Bring back prefix commands with "."

(it's easier to type)

* Add help

* Fix messsage resolution

* utils: factor out message resolution

* Improve tag message

* Disable VC support for message resolution for now

* Improve prefix command usage

Update on edit, display additional tip with wrong usage.

* Check invoke_on_edit to display tip

* Add defer in commands which make http requests

* Apply tag sorting to slash commands too

* handlers::error: `+=` -> `writeln!`

* handlers::event: ignore own new messages

* help: remove unneeded format!

* optimize for size in release builds

* nix: cleanup deployment expressions

* nix: use treefmt

* nix: update flake.lock

Flake lock file updates:

• Updated input 'fenix':
    'github:nix-community/fenix/eb683549b7d76b12d1a009f888b91b70ed34485f' (2024-01-27)
  → 'github:nix-community/fenix/c53bb4a32f2fce7acf4e8e160a54779c4460ffdb' (2024-03-17)
• Updated input 'fenix/rust-analyzer-src':
    'github:rust-lang/rust-analyzer/596e5c77cf5b2b660b3ac2ce732fa0596c246d9b' (2024-01-26)
  → 'github:rust-lang/rust-analyzer/5ecace48f693afaa6adf8cb23086b651db3aec96' (2024-03-16)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/4fddc9be4eaf195d631333908f2a454b03628ee5' (2024-01-25)
  → 'github:nixos/nixpkgs/34ad8c9f29a18b4dd97a9ad40ceb16954f24afe7' (2024-03-17)
• Updated input 'pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/f56597d53fd174f796b5a7d3ee0b494f9e2285cc' (2024-01-20)
  → 'github:cachix/pre-commit-hooks.nix/5df5a70ad7575f6601d91f0efec95dd9bc619431' (2024-02-15)
• Updated input 'procfile-nix':
    'github:getchoo/procfile-nix/31a33e4264e5c6214844993c5b508fb3500ef5cd' (2024-01-27)
  → 'github:getchoo/procfile-nix/7a0ab379a4ab71c9deccaca9fb463e9aaea363d8' (2024-03-14)

---------

Co-authored-by: seth <getchoo@tuta.io>
2024-03-18 01:01:46 +00:00
seth
24c8406590
chore: cleanup + update nix flake 2024-01-27 23:49:35 -05:00
seth
e928eb67df
feat: add nix package, module, and container
Signed-off-by: seth <getchoo@tuta.io>
2023-12-03 18:29:09 -05:00
Sefa Eyeoglu
c29d5dfb8d
chore: add redis to devShell
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-11-16 22:53:09 +01:00
Sefa Eyeoglu
7ab1002485
refactor(nix): switch to flake-parts
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-11-07 11:16:58 +01:00
Sefa Eyeoglu
e8f2149dd1
chore: exclude flake.lock pnpm-lock.yaml
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-11-07 11:16:13 +01:00
Sefa Eyeoglu
9996a93e29
fix(nix): install pnpm
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-06-10 12:15:17 +02:00
Sefa Eyeoglu
25f53d8ab5
chore(nix): switch to alejandra
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-05-14 11:39:00 +02:00
Sefa Eyeoglu
1fd04bf5d5
chore: add pre-commit-hooks.nix
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-02-17 00:33:18 +01:00
Sefa Eyeoglu
ad63fedb45
chore: add Flake and direnv
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-02-17 00:30:18 +01:00