Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | commands: cleanup the command's usage to avoid warnings when generating the doc | Michael Muré | 2020-07-28 | 25 | -53/+53 |
| | |||||
* | Update docs | vince | 2020-07-28 | 1 | -1/+1 |
| | |||||
* | Remove need to specify remote | vince | 2020-07-28 | 1 | -9/+5 |
| | | | | 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 cache | vince | 2020-07-28 | 1 | -1/+11 |
| | |||||
* | Allow user to delete remote bugs | vince | 2020-07-28 | 1 | -15/+7 |
| | |||||
* | Add the 'rm' command | vince | 2020-07-28 | 2 | -0/+46 |
| | | | | This commit adds a command that removes a bug from the repository, given a prefix. | ||||
* | Merge pull request #427 from wavexx/trim_titles | Michael Muré | 2020-07-14 | 1 | -2/+2 |
|\ | | | | | Trim titles in list views | ||||
| * | Trim titles in list views | Yuri D'Elia | 2020-07-13 | 1 | -2/+2 |
| | | |||||
* | | 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 | ||||
* | commands: fix segfault with badly loaded backend | Michael Muré | 2020-07-07 | 1 | -1/+1 |
| | |||||
* | commands: open and close the backend in a single place, simplify commands | Michael Muré | 2020-06-28 | 34 | -480/+304 |
| | |||||
* | commands: refactor to avoid globals | Michael Muré | 2020-06-28 | 38 | -1111/+1328 |
| | |||||
* | Reorganize the webUI and API code | Michael Muré | 2020-06-27 | 1 | -156/+20 |
| | | | | | | | | | | 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 | 1 | -5/+5 |
| | |||||
* | Pull out context-stuff from identity into graphqlidentity package | Luke Granger-Brown | 2020-06-27 | 1 | -4/+9 |
| | |||||
* | Change graphql Go handlers to pluck identity out of context instead. | Luke Granger-Brown | 2020-06-27 | 1 | -6/+21 |
| | |||||
* | 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 | 1 | -4/+7 |
| | | | | Fixes #402. | ||||
* | repository: remove tie to Bug, improved and reusable testing | Michael Muré | 2020-06-26 | 2 | -2/+2 |
| | | | | | | | | | - 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. | ||||
* | bug: harmonize how time are used, fix some issues in command special formats | Michael Muré | 2020-06-25 | 4 | -85/+102 |
| | | | | 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 | 3 | -220/+66 |
| | |||||
* | 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 | 1 | -5/+123 |
|\ | | | | | [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 | 1 | -5/+121 |
| | | | | | | | | 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'. | ||||
* | | doc: fix typos | Martin Michlmayr | 2020-06-16 | 1 | -1/+1 |
|/ | |||||
* | DOC: commands/root.go: syntax | Wes Turner | 2020-05-01 | 1 | -1/+1 |
| | |||||
* | query: no need for an ast package | Michael Muré | 2020-03-28 | 1 | -48/+28 |
| | |||||
* | cache: replace the all-in-one query parser by a complete one with ↵ | Michael Muré | 2020-03-28 | 1 | -32/+25 |
| | | | | AST/lexer/parser | ||||
* | Merge pull request #344 from MichaelMure/github-lowercase-login | Michael Muré | 2020-02-29 | 1 | -0/+6 |
|\ | | | | | github: fix matching cred/identity with badly cased login | ||||
| * | github: correct casing for user provided login | Michael Muré | 2020-02-29 | 1 | -0/+6 |
| | | |||||
* | | identity: bring back the login to hold that info from bridges (purely ↵ | Michael Muré | 2020-02-25 | 2 | -1/+4 |
|/ | | | | informational) | ||||
* | bridges: massive refactor | Michael Muré | 2020-02-15 | 1 | -10/+12 |
| | | | | | | - automatic flag validation and warning - generalized prompt - cleanups | ||||
* | auth: refactor and introduce Login and LoginPassword, salt IDs | Michael Muré | 2020-02-12 | 1 | -1/+1 |
| | |||||
* | it compiles \o/ | Michael Muré | 2020-02-08 | 6 | -63/+72 |
| | |||||
* | input: better reusable prompt functions | Michael Muré | 2020-02-08 | 1 | -3/+3 |
| | |||||
* | various cleanups suggested by golang-ci | Michael Muré | 2020-02-08 | 1 | -3/+1 |
| | |||||
* | upgrade to gqlgen master, waiting for a release | Michael Muré | 2020-02-05 | 1 | -2/+2 |
| | |||||
* | bridge: allow to configure and pull without having set a user first | Michael Muré | 2019-12-25 | 5 | -9/+57 |
| | | | | | | | | | | - init() only the importer or exporter as required - assign a "default user" user Id to credentials at creation if no user has been set - "bridge auth": also display the user - "bridge auth show": adapt to a potential "default user" user Id - "bridge configure": allow to run without a user set - "bridge pull": allow to run without a user set - "user adopt": replace "default user" by the actual user id when run | ||||
* | Merge pull request #274 from MichaelMure/gitlab-bridge | Michael Muré | 2019-12-10 | 1 | -0/+1 |
|\ | | | | | bridge/gitlab: support self-hosted GitLab instance | ||||
| * | bridge/gitlab: support self-hosted GitLab instance | amine | 2019-12-10 | 1 | -0/+1 |
| | | |||||
* | | cmd: "user create" only assign the user identity if not set | Michael Muré | 2019-12-10 | 1 | -1/+8 |
|/ | |||||
* | Merge pull request #271 from MichaelMure/bridge-credentials | Michael Muré | 2019-12-10 | 17 | -67/+111 |
|\ | | | | | bridge: huge refactor to accept multiple kind of credentials | ||||
| * | bridge: huge refactor to accept multiple kind of credentials | Michael Muré | 2019-12-08 | 17 | -67/+111 |
| | | |||||
* | | bridge: fix incorrect last import time on context cancel | Michael Muré | 2019-12-09 | 1 | -4/+14 |
|/ |