Blacklist URLs based on keywords
* Check repo URL in blacklisted
* readme update (for split blacklist config options)
* moved git repo check into its own loop
* fixed not loading if blacklist empty + other stuff ;-;
* fix(formatting): Format using StyLua to be in sync with upstream
* fix(init.lua): Change : to . so argument `self` is not created
---------
Co-authored-by: Jiří Štefka <jiri@stefka.eu>
* match ssh url format and generate https url for discord buttons
* only check for ssh url format after nil check
* kind of validate repository urls
* small fixes
* use actual function
Resolves #33
* Show View Repository button by default if applicable
* Allow user to disable or configure buttons statically or dynamically
* Update README
Resolves #27
* Add blacklist config
* update blacklist log message
* add length check for blacklist table
* format parent and project checks in check_blacklist function
* minor refactors for better performance
* Update README & remove unnecessary relay script
* Remove awk usage with explicit output parsers
* Ensure Presence is canceled on leave event
* Use release information to determine WSL 1 use
* Support P2P state sharing in WSL with ss
* Use ss if netstat is not available
* Use jobstart instead of io.popen to get WSL nvim sockets
* Detect OS via uname
* Add support for WSL
* fix: rewrite for latest commit
* fix: formatting
* fix: use BufEnter instead of BufRead for more stable presence updates
* fix: change vimscript variable from false to 0
Co-authored-by: Andrew Kwon <andrewshky@gmail.com>
* fix: revert back to TextChanged rather than InsertEnter, refactor bits of the codebase
* fix: formatting
* fix: luacheck error and compare options to numeric values rather than booleans
Co-authored-by: Andrew Kwon <andrewshky@gmail.com>
* Add context-specific status
* Add "browsing" support for file tree explorers
* Move status text into its own function
* Add commit and netrw support
* Fix git commit file recognition
* Add readonly clause
* Revert editing_text option
Co-authored-by: Andrew Kwon <andrewshky@gmail.com>
* Delete copied line
* Dynamic text update (#2)
* Add basic plugin support and rewrite status_text
* Fix syntax error
* Fix errors pt. 2
* Change options -> self.options
* editing_text -> status_text
* Try to get rid of dictionary bug
* Try to fix dictionary bug pt. 2
* Remove self.options
* Reorder status_text initialisation
* Reinsert self.options
* Remove global status_text var
* options still broken
* Tentatively done with dynamic text
* Remove global status_text variable
* Remove unnecessary lines/clean up code
* Dynamic text update (#3)
* Clean up status text options
* General code cleanup
* Fix whitespace issue
Co-authored-by: Andrew Kwon <andrewshky@gmail.com>
* Add context-specific status
* Add "browsing" support for file tree explorers
* Add commit and netrw support
* Fix git commit file recognition
* Add readonly clause
- Use `code` instead of `file` as default asset
- Check filename before extension in file asset assignment
- Support a lot more files and file extensions
- Add sync logic to manage multi-client runtime state
- Debounce and set activity on TextChanged events
- Update timestamp to be workspace-specific
- Set activity on an open nvim instance upon a VimLeave event