summaryrefslogtreecommitdiff
path: root/server/common
AgeCommit message (Collapse)Author
2025-06-23clippy: Random fixupsJoel Klinghed
2025-06-23clippy: Use if instead of empty matchJoel Klinghed
2025-06-23clippy: Use slice instead of vec when possibleJoel Klinghed
2025-06-23clippy: Remove unnecessary returnJoel Klinghed
2025-06-23clippy: Use strip_prefix instead of start_prefix + manual slicingJoel Klinghed
2025-06-22Add support for pushing changes to a translation reviewJoel Klinghed
Finally got around to fixing the pre-receive hook to include quarantined objects so the hook actually can run git commands on the not-yet-accepted commits. As part of that, had to make sure git hook and eyeballs server had the same path to the repo or confusion will appear.
2025-06-19Initial support for translation reviewsJoel Klinghed
2025-06-12git: Make fetch return the new head for the fetched branchJoel Klinghed
2025-06-09git: Add ls-treeJoel Klinghed
2025-06-09git: Allow usernames and emails with newlines in themJoel Klinghed
Not going to happen but why not use NUL delimiter when it's available.
2025-06-08grit: Keep part when expandingJoel Klinghed
Makes it possible to still keep track of which file a string comes from.
2025-06-08common: Improve assert_eq output in testsJoel Klinghed
2025-06-07grit: Add basic parsing of xlfJoel Klinghed
This doesn't read the full xliff format, it only reads the translation target string and the id for the translation unit.
2025-06-07grit: Add method for generating message translation idJoel Klinghed
reimplemented from a description of the grit id calculation
2025-06-06grit: Add support for expanding grit-part in gritJoel Klinghed
2025-06-06grit: Add test for parsing grit-partJoel Klinghed
2025-06-06grit: Allow if's to be recursiveJoel Klinghed
Not often used in grit files, if at all, but needed when we want to add support for expanding grit-part in grit structure.
2025-06-05Add grit module to commonJoel Klinghed
Parses grit files. I tried using serde-xml-rs but it can't handle text mixed with elements so xml-rs and event stream it is.
2025-06-04Make integration actually workJoel Klinghed
Add logs Add remote keys for each user
2025-02-06Add DELETE command for reviewJoel Klinghed
Only the owner or a maintainer of the project can remove a review. Removing a review also removes the git branch. Only reviews that are either draft or dropped can be removed.
2025-02-05Improve flycheck-rust for workspacesJoel Klinghed
2025-02-04common: fs_utils: Style fixJoel Klinghed
2025-02-04common: git: Improve config cachingJoel Klinghed
Git treats most of a config name as case-insensitive. Specifically section and value are case-insenstive while optional subsection, if it exists, is case-sensitive. So, in "a.b.c" a and c will be made lowercase but not b before checking the cache. And in "a.b" both a and b will be made lowercase
2025-02-04common: Add tests for gitJoel Klinghed
Wanted to include a non-bare repo as well but git doesn't like one adding a non-bare git repo NOT as a submodule. And bare repos are the main code path anyway.
2025-02-03code coverage: Add tests for commonJoel Klinghed
Add coverage for common as well as server. Fix fs_utils::create_dir_allow_existing to fail if entry exists but isn't a dir.
2025-02-01Use workspace instead of featuresJoel Klinghed
Having to include --feature=build-server in basically all commands that wasn't building eyeballs-githook got tiring quickly. Instead, use workspaces, with a separate project for building the githook. It means I also had to add a library common with code shared by both githook and server.