Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | termui: avoid importing a whole package to check an error | Michael Muré | 2020-07-20 | 2 | -4/+5 |
| | |||||
* | update go-term-text | Michael Muré | 2020-07-20 | 2 | -2/+3 |
| | |||||
* | some light code reorg | Michael Muré | 2020-07-16 | 2 | -83/+93 |
| | |||||
* | typos and minor readme fix | Michael Muré | 2020-07-15 | 3 | -3/+3 |
| | |||||
* | Merge pull request #428 from wavexx/force_status_fgcolor | Michael Muré | 2020-07-14 | 3 | -0/+3 |
|\ | | | | | Set the Fg color of the status bar to White | ||||
| * | Set the Fg color of the status bar to White | Yuri D'Elia | 2020-07-13 | 3 | -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_titles | Michael Muré | 2020-07-14 | 2 | -3/+3 |
|\ \ | | | | | | | Trim titles in list views | ||||
| * | | Trim titles in list views | Yuri D'Elia | 2020-07-13 | 2 | -3/+3 |
| |/ | |||||
* | | Merge pull request #425 from karlicoss/ls-org-mode | Michael Muré | 2020-07-14 | 1 | -16/+27 |
|\ \ | |/ |/| | ls --format org-mode enhancements | ||||
| * | ls: minor code improvements | Michael Muré | 2020-07-14 | 1 | -21/+20 |
| | | |||||
| * | ls --format org-mode enhancements | Dima Gerasimov | 2020-07-12 | 1 | -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 Tiu | 2020-07-09 | 6 | -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-analysis | Michael Muré | 2020-07-07 | 1 | -1/+2 |
|\ | | | | | fix github action | ||||
| * | fix github action | Michael Muré | 2020-07-07 | 1 | -1/+2 |
|/ | |||||
* | Merge pull request #421 from MichaelMure/code-analysis | Michael Muré | 2020-07-07 | 1 | -0/+52 |
|\ | | | | | code analysis | ||||
| * | code analysis | Michael Muré | 2020-07-07 | 1 | -0/+52 |
|/ | |||||
* | commands: fix segfault with badly loaded backend | Michael Muré | 2020-07-07 | 1 | -1/+1 |
| | |||||
* | repo: fix test chocking on randomized element in repo.ListRefs() | Michael Muré | 2020-07-03 | 1 | -1/+1 |
| | |||||
* | cache: split into multiple files for readability | Michael Muré | 2020-07-03 | 4 | -846/+881 |
| | |||||
* | repository: merge git.Hash in for one less /util package | Michael Muré | 2020-07-01 | 25 | -311/+299 |
| | |||||
* | Merge pull request #414 from MichaelMure/cmd-rework | Michael Muré | 2020-06-28 | 43 | -1380/+1431 |
|\ | | | | | commands: refactor to avoid globals | ||||
| * | commands: open and close the backend in a single place, simplify commands | Michael Muré | 2020-06-28 | 35 | -480/+314 |
| | | |||||
| * | commands: refactor to avoid globals | Michael Muré | 2020-06-28 | 42 | -1122/+1339 |
|/ | |||||
* | Merge pull request #407 from lukegb/fix-402 | Michael Muré | 2020-06-27 | 61 | -295/+604 |
|\ | | | | | Add support for read-only mode for web UI. | ||||
| * | webui: pack | Michael Muré | 2020-06-27 | 1 | -38/+38 |
| | | |||||
| * | webui: render component's children as a function to avoid uncecessary rendering | Michael Muré | 2020-06-27 | 2 | -5/+7 |
| | | | | | | Co-authored-by: Quentin Gliech <quentingliech@gmail.com> | ||||
| * | Reorganize the webUI and API code | Michael Muré | 2020-06-27 | 54 | -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 ErrNotAuthenticated | Luke Granger-Brown | 2020-06-27 | 5 | -25/+15 |
| | | |||||
| * | Pull out context-stuff from identity into graphqlidentity package | Luke Granger-Brown | 2020-06-27 | 6 | -62/+91 |
| | | |||||
| * | Change graphql Go handlers to pluck identity out of context instead. | Luke Granger-Brown | 2020-06-27 | 7 | -81/+98 |
| | | |||||
| * | Add context.go to identity, used for attaching identities to and retrieving ↵ | Luke Granger-Brown | 2020-06-27 | 1 | -0/+26 |
| | | | | | | | | them from a context.Context | ||||
| * | Refactor webui changes. | Luke Granger-Brown | 2020-06-27 | 7 | -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 mode | Luke Granger-Brown | 2020-06-27 | 1 | -1/+9 |
| | | |||||
| * | Don't permit file uploads in read-only mode | Luke Granger-Brown | 2020-06-27 | 1 | -1/+3 |
| | | |||||
| * | Add support for read-only mode for web UI. | Luke Granger-Brown | 2020-06-27 | 18 | -35/+130 |
|/ | | | | Fixes #402. | ||||
* | Merge pull request #413 from MichaelMure/repo-more-tests | Michael Muré | 2020-06-27 | 7 | -27/+180 |
|\ | | | | | repo: more tests | ||||
| * | repo: more tests | Michael Muré | 2020-06-27 | 7 | -27/+180 |
|/ | |||||
* | Merge pull request #411 from MichaelMure/repo-rework | Michael Muré | 2020-06-26 | 39 | -511/+563 |
|\ | | | | | Repository rework | ||||
| * | repository: remove tie to Bug, improved and reusable testing | Michael Muré | 2020-06-26 | 39 | -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-2 | Michael Muré | 2020-06-26 | 25 | -147/+457 |
|\ | | | | | Add formatting options to the 'show' and 'user ls' commands | ||||
| * | fix cache not rebuilding properly | Michael Muré | 2020-06-26 | 1 | -20/+3 |
| | | |||||
| * | bug: harmonize how time are used, fix some issues in command special formats | Michael Muré | 2020-06-25 | 16 | -128/+142 |
| | | | | | | | | This assume that the convertion from time.Time <--> Unix timestamp is lossless which seems to be. | ||||
| * | cmds: cleanup and re-generate files | Michael Muré | 2020-06-24 | 12 | -236/+104 |
| | | |||||
| * | Fix bugs | vince | 2020-06-24 | 2 | -9/+11 |
| | | | | | | | | | | | | This fixes some bugs experienced when using the new formatting options: - org-mode indents not working properly - print statements missing contents | ||||
| * | Clean up code and fix suggestions | vince | 2020-06-24 | 3 | -83/+110 |
| | | |||||
| * | Add org-mode formatting option | vince | 2020-06-23 | 3 | -8/+187 |
| | | | | | | | | This adds an option to the formatting flag on the ls, show and user ls commands that allows the user to specify the format of the output in org-mode. This will be useful for emacs users to read it in the editor. | ||||
| * | Add output formatting support to the 'show' and 'user ls' commands | vince | 2020-06-21 | 3 | -27/+264 |
|/ | | | | | | This adds options to specify an output format for the commands in question. Supported formats are currently: - 'plain': plaintext, stripped of all colors - 'json': prints output as a json object | ||||
* | Merge pull request #403 from MichaelMure/ls-dump | Vincent Tiu | 2020-06-18 | 6 | -6/+136 |
|\ | | | | | [ls] add support for different output formats | ||||
| * | Print JSON as a well-formed object | vince | 2020-06-18 | 1 | -4/+6 |
| | | | | | | | | This prints all the bugs in a JSON array instead of one by one. | ||||
| * | ls: Add support to ls dump bug information in specific formats | vince | 2020-06-16 | 6 | -6/+134 |
| | | | | | | | | This adds an optional flag to the ls command that allows users to specify the format they wish to dump the output as. Currently, supported parameters are 'default', 'plain' and 'json'. |