Commit Graph

139 Commits

Author SHA1 Message Date
Michael Muré
c7abac388a repo: refactor how test repo are created/cleaned 2019-05-27 21:14:55 +02:00
Quentin Gliech
1c2ee10ce7
graphql: Implement Authored whenever possible
webui: Use a fragment for Authored nodes
2019-05-22 21:46:43 +02:00
ludovicm67
9adf6de4b5
graphql: expose label color 2019-05-22 20:22:35 +02:00
ludovicm67
d156f41d99
core: use RBGA color from image/color 2019-05-22 20:22:35 +02:00
ludovicm67
9839d8bc00
core: rename Color to RGBColor 2019-05-22 20:22:35 +02:00
ludovicm67
e3ce535705
test: add some tests for label color 2019-05-22 20:22:35 +02:00
ludovicm67
1d94fd1b31
core: format and add some comments for color label 2019-05-22 20:22:34 +02:00
ludovicm67
93bed322fa
core: add color for label 2019-05-22 20:22:33 +02:00
Amine Hilaly
f7ea3421ca Add ForceLabelChange functionalities 2019-05-05 18:16:10 +02:00
Michael Muré
ef84fda0d4
bug: fix a potential crash with malformed data in EditCommentOperation
crashed with indexOutOfRange when the target of the op existed but wasn't a
CreateOperation or a AddCommentOperation
2019-04-17 18:27:55 +02:00
Michael Muré
d862575d80
bug: fix EditCommentOperation targeting the wrong comment
fix #126
2019-04-14 14:12:44 +02:00
Amine Hilaly
2a5fbc4dc9 Expose actors and participants in snapshot and bug excerpt
Append operations authors to each list on Apply() call

Expose actors and participants in graphql

Add actor/participant query filter and documentation
2019-04-04 00:37:57 +02:00
Michael Muré
0a71e6d269
commands: display comment's id in "git bug comment" 2019-03-28 01:21:41 +01:00
Michael Muré
24d6714dd5 cache: properly push/pull identities and bugs 2019-03-27 21:44:11 +01:00
Michael Muré
a40dcc8a6a bug: don't make bug actions drive identity actions
Turns out it was a mistake, who is suprised ?

It leaks the abstraction and it's generally much cleaner to let the cache layer make both calls
2019-03-25 22:06:01 +01:00
Sladyn
beecd2dbe4 Made requested changes
Made changes to the doc files and remaining areas which required updation.
2019-03-02 23:06:55 +05:30
Michael Muré
c235d89d36
commands: show the last modification time in "user" 2019-03-01 22:52:54 +01:00
Michael Muré
46beb4b886
identity: another round of cleanups 2019-03-01 22:52:53 +01:00
Michael Muré
475b7b4c49
a round of cleanup 2019-03-01 22:52:53 +01:00
Michael Muré
71f9290fda
identity: store the times properly 2019-03-01 22:40:27 +01:00
Michael Muré
d2483d83dd
identity: I can compile again !! 2019-03-01 22:40:24 +01:00
Michael Muré
cd7ed7ff9e
identity: add more test for serialisation and push/pull/merge + fixes 2019-03-01 22:40:24 +01:00
Michael Muré
21048e785d
identity: wip 2019-03-01 22:40:23 +01:00
Michael Muré
328a4e5abf
identity: wip push/pull 2019-03-01 22:40:23 +01:00
Michael Muré
56c6147eb6
identity: more refactoring progress 2019-03-01 22:40:22 +01:00
Michael Muré
14b240af8f
identity: more cleaning and fixes after a code review 2019-03-01 22:40:22 +01:00
Michael Muré
d10c76469d
identity: somewhat getting closer ! 2019-03-01 22:40:21 +01:00
Michael Muré
844616baf8
identity: more progress and fixes 2019-03-01 22:40:21 +01:00
Michael Muré
06d9c68726
identity: implement the loading from git 2019-03-01 22:35:37 +01:00
Michael Muré
feab9412df
WIP identity in git 2019-03-01 22:35:36 +01:00
Sebastien Devaux
76386720fe Issue #87: use same id format function in snapshot.go than in bug.go 2019-01-04 12:27:03 +01:00
Cyril Roelandt
11e04748b9 Allow empty messages in comments.
Some bug trackers, like Launchpad, allow messages to be empty (when adding a
file to the bug, for instance).
2018-12-26 23:23:07 +01:00
Michael Muré
96f514168f
repo: minor cleaning 2018-12-25 16:35:37 +01:00
Michael Muré
94b28b68e5
termui: display an explicit placeholder for empty messages 2018-12-23 21:46:47 +01:00
Michael Muré
0d5bd6b18a
graphql: now that it's possible, split the schema for clarity 2018-12-23 17:55:41 +01:00
Michael Muré
1410a1af75
upgrade gqlgen to v0.7.1 2018-12-23 17:11:37 +01:00
Rafael Ascensão
8dcd3d21cd tests: configure user ident in repos used by tests
Some git operations require the user to have an identity configured and
will exit with failure if none is set (or if git can't guess it). As a
direct consequence of this, the test suite may fail depending on the
user local configuration.

The error itself is justified as regular users *should* configure their
identity themselves. However, when building in chrooted environments
it's unlikely the git identity will be set making the test suite fail
unnecessarily.

To prevent such unnecessary failures, let's make a dummy identity for
repos created and used by the test suite.
2018-12-10 22:14:27 +00:00
Michael Muré
82701f8ce7
bug: add a new SetMetadataOperation to retroactively tag operations 2018-10-21 00:55:58 +02:00
Michael Muré
7cb7994cda
github: also pull users email 2018-10-07 18:27:23 +02:00
Michael Muré
8ec1dd0926
github: working incremental + comment history for the first comment 2018-10-01 23:34:45 +02:00
Michael Muré
f18c2d2783
bug: make sure to invalidate the hash when changing an op's metadata 2018-10-01 23:33:25 +02:00
Michael Muré
0fe7958aba
bug: message can be empty on edit comment 2018-10-01 23:32:52 +02:00
Michael Muré
6ea6f3614e
bug: in op convenience function, return the new op to be able to set metadata later 2018-10-01 23:31:16 +02:00
Michael Muré
f026f61aaa
bug: custom error for the different error case when loading a bug 2018-10-01 23:27:34 +02:00
Michael Muré
de81ed49e6
bug: add a new no-op operation to store arbitrary metadata on a bug 2018-10-01 21:58:50 +02:00
Michael Muré
a4b218adec
add documentation 2018-10-01 21:47:12 +02:00
Michael Muré
97d9494853
bug: add a test for operations hash 2018-10-01 21:44:42 +02:00
Michael Muré
bda9b01b5a
bug: add a test for OpBase metadata 2018-10-01 11:37:37 +02:00
Michael Muré
3402230a55
bug: use a value embedding for OpBase 2018-10-01 11:37:17 +02:00
Michael Muré
7f86898ef9
bug: use deditated type for all TimelineItem 2018-09-30 17:15:54 +02:00