aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update docsvince2020-07-282-2/+2
|
* Remove need to specify remotevince2020-07-283-29/+19
| | | | This commit makes the removeBug command use the listRefs repo command to search for the bug, eliminating the need to input the remote the bug came from.
* Move args parsing out of repo cachevince2020-07-283-10/+16
|
* Add test for removing bug from cachevince2020-07-281-0/+5
|
* Allow user to delete remote bugsvince2020-07-283-18/+28
|
* Add the 'rm' commandvince2020-07-283-0/+64
| | | | This commit adds a command that removes a bug from the repository, given a prefix.
* gitlab: skip the broken test as "known broken" :(Michael Muré2020-07-261-0/+7
|
* update go-gitlabMichael Muré2020-07-263-8/+17
|
* termui: avoid importing a whole package to check an errorMichael Muré2020-07-202-4/+5
|
* update go-term-textMichael Muré2020-07-202-2/+3
|
* some light code reorgMichael Muré2020-07-162-83/+93
|
* typos and minor readme fixMichael Muré2020-07-153-3/+3
|
* Merge pull request #428 from wavexx/force_status_fgcolorMichael Muré2020-07-143-0/+3
|\ | | | | Set the Fg color of the status bar to White
| * Set the Fg color of the status bar to WhiteYuri D'Elia2020-07-133-0/+3
| | | | | | | | | | Always set the Fg color when Bg is set. This fixes poor contrast on terminals with non-standard foreground colors.
* | Merge pull request #427 from wavexx/trim_titlesMichael Muré2020-07-142-3/+3
|\ \ | | | | | | Trim titles in list views
| * | Trim titles in list viewsYuri D'Elia2020-07-132-3/+3
| |/
* | Merge pull request #425 from karlicoss/ls-org-modeMichael Muré2020-07-141-16/+27
|\ \ | |/ |/| ls --format org-mode enhancements
| * ls: minor code improvementsMichael Muré2020-07-141-21/+20
| |
| * ls --format org-mode enhancementsDima Gerasimov2020-07-121-8/+20
|/ | | | | | | - fix and align OPEN/CLOSED states - fix org-mode links format - santize tags (org-mode only allows _ and @ as special characters) - format datetimes as org-mode
* Add functionality to remove bugs from a local repository. (#423)Vincent Tiu2020-07-096-4/+38
| | | | | Add functionality to remove bugs from a local repository. This adds a function to remove git references in the repo and another one to remove bugs.
* Merge pull request #422 from MichaelMure/code-analysisMichael Muré2020-07-071-1/+2
|\ | | | | fix github action
| * fix github actionMichael Muré2020-07-071-1/+2
|/
* Merge pull request #421 from MichaelMure/code-analysisMichael Muré2020-07-071-0/+52
|\ | | | | code analysis
| * code analysisMichael Muré2020-07-071-0/+52
|/
* commands: fix segfault with badly loaded backendMichael Muré2020-07-071-1/+1
|
* repo: fix test chocking on randomized element in repo.ListRefs()Michael Muré2020-07-031-1/+1
|
* cache: split into multiple files for readabilityMichael Muré2020-07-034-846/+881
|
* repository: merge git.Hash in for one less /util packageMichael Muré2020-07-0125-311/+299
|
* Merge pull request #414 from MichaelMure/cmd-reworkMichael Muré2020-06-2843-1380/+1431
|\ | | | | commands: refactor to avoid globals
| * commands: open and close the backend in a single place, simplify commandsMichael Muré2020-06-2835-480/+314
| |
| * commands: refactor to avoid globalsMichael Muré2020-06-2842-1122/+1339
|/
* Merge pull request #407 from lukegb/fix-402Michael Muré2020-06-2761-295/+604
|\ | | | | Add support for read-only mode for web UI.
| * webui: packMichael Muré2020-06-271-38/+38
| |
| * webui: render component's children as a function to avoid uncecessary renderingMichael Muré2020-06-272-5/+7
| | | | | | Co-authored-by: Quentin Gliech <quentingliech@gmail.com>
| * Reorganize the webUI and API codeMichael Muré2020-06-2754-309/+472
| | | | | | | | | | | | | | | | | | | | Included in the changes: - create a new /api root package to hold all API code, migrate /graphql in there - git API handlers all use the cache instead of the repo directly - git API handlers are now tested - git API handlers now require a "repo" mux parameter - lots of untangling of API/handlers/middleware - less code in commands/webui.go
| * Use ErrNotAuthenticatedLuke Granger-Brown2020-06-275-25/+15
| |
| * Pull out context-stuff from identity into graphqlidentity packageLuke Granger-Brown2020-06-276-62/+91
| |
| * Change graphql Go handlers to pluck identity out of context instead.Luke Granger-Brown2020-06-277-81/+98
| |
| * Add context.go to identity, used for attaching identities to and retrieving ↵Luke Granger-Brown2020-06-271-0/+26
| | | | | | | | them from a context.Context
| * Refactor webui changes.Luke Granger-Brown2020-06-277-54/+31
| | | | | | | | | | | | Don't use contexts, just raw Apollo, since it's cached anyway. Change "ReadonlyHidden" to "IfLoggedIn".
| * Verify that we have an identity only in read-write modeLuke Granger-Brown2020-06-271-1/+9
| |
| * Don't permit file uploads in read-only modeLuke Granger-Brown2020-06-271-1/+3
| |
| * Add support for read-only mode for web UI.Luke Granger-Brown2020-06-2718-35/+130
|/ | | | Fixes #402.
* Merge pull request #413 from MichaelMure/repo-more-testsMichael Muré2020-06-277-27/+180
|\ | | | | repo: more tests
| * repo: more testsMichael Muré2020-06-277-27/+180
|/
* Merge pull request #411 from MichaelMure/repo-reworkMichael Muré2020-06-2639-511/+563
|\ | | | | Repository rework
| * repository: remove tie to Bug, improved and reusable testingMichael Muré2020-06-2639-511/+563
|/ | | | | | | | | - allow the creation of arbitrary Lamport clocks, freeing the way to new entities and removing Bug specific (upper layer) code. - generalize the memory-only and persisted Lamport clocks behind a common interface - rework the tests to provide reusable testing code for a Repo, a Clock, a Config, opening a path to add a new Repo implementation more easily - test previously untested components with those new tests Note: one problem found during this endeavor is that `identity.Version` also need to store one time + Lamport time for each other Entity (Bug, config, PR ...). This could possibly done without breaking change but it would be much easier to wait for https://github.com/MichaelMure/git-bug-migration to happen.
* Merge pull request #410 from MichaelMure/output-formatting-2Michael Muré2020-06-2625-147/+457
|\ | | | | Add formatting options to the 'show' and 'user ls' commands
| * fix cache not rebuilding properlyMichael Muré2020-06-261-20/+3
| |
| * bug: harmonize how time are used, fix some issues in command special formatsMichael Muré2020-06-2516-128/+142
| | | | | | | | This assume that the convertion from time.Time <--> Unix timestamp is lossless which seems to be.