* [wip] initial mt support in config syncer
* Move logout button & profile picture into settings dropdown (#172)
* update sync status properly and fix bug with multiple config in db case
* make config path required in single tenant mode
NOTE: deleting config/repos is currently not supported in multi tenancy case. Support for this will be added in a future PR
---------
Co-authored-by: Brendan Kellam <bshizzle1234@gmail.com>
* hacked together a example of using zoekt grpc api
* provide tenant id to zoekt git indexer
* update zoekt version to point to multitenant branch
* pipe tenant id through header to zoekt
* remove incorrect submodule reference and settings typo
* update zoekt commit
* remove unused yarn script
* remove unused grpc client in web server
* remove unneeded deps and improve tenant id log
* pass tenant id when creating repo in db
* add mt yarn script
* add pol of bullmq into backend
* add better error handling and concurrency setting
* spin up redis instance in dockerfile
* cleanup transaction logic when adding repos to index queue
* add NEW index status fetch condition
* move bullmq deps to backend
---------
Co-authored-by: bkellam <bshizzle1234@gmail.com>
* hacked together a example of using zoekt grpc api
* provide tenant id to zoekt git indexer
* update zoekt version to point to multitenant branch
* pipe tenant id through header to zoekt
* remove incorrect submodule reference and settings typo
* update zoekt commit
* remove unused yarn script
* remove unused grpc client in web server
* remove unneeded deps and improve tenant id log
* pass tenant id when creating repo in db
* add mt yarn script
* add nocheckin comment to tenant id in v2 schema
---------
Co-authored-by: bkellam <bshizzle1234@gmail.com>
* feat: move language utilites out of components and dedup linguist languages
This mot moves all linguist language and codemirror languages into
utility classes.
It also adds syntax highligting for 200+ languages which can use
available parsers.
* Add support for all available 3rd party languages
* Remove some accidental languages
---------
Co-authored-by: Brendan Kellam <bshizzle1234@gmail.com>
* feat: add all 800 linguist language icons
This uses existing svg icons for common languages, then falls back on
the iconify library for the remaining 600 languages.
* move icon component to ui components
---------
Co-authored-by: Brendan Kellam <bshizzle1234@gmail.com>
* feat: Add support for codemirror mode languages
Codemirror 5 had a number of languages supported via modes instead of
explicit language support
* Add additional languages, remove comment
* fix: make gerrit repo fetching paginated
In some cases gerrit will limit the number of projects returned by
/projects endpoint, forcing the client to paginate their request to get
all projects.
This fulfills this requirement to get all projects
* Add some more metadata repo projects to ignore list
---------
Co-authored-by: Brendan Kellam <bshizzle1234@gmail.com>
* Make filter panel full page height
* Fix filter items text
when the filter items were cutoff, the text would break onto multiple
lines and the count would overlap with the text
---------
Co-authored-by: Brendan Kellam <bshizzle1234@gmail.com>