Commit Graph

9 Commits (2f09e5775f1e9a7388cde03c70edd1957f619f1b)

Author SHA1 Message Date
6543 ae4955999e
Fix panic bug in handling multiple references in commit () ()
* Fix panic bug in handling multiple references in commit ()

The issue lay in determining the position of matches on a second run round
a commit message in FindAllIssueReferences.

Fix 

Signed-off-by: Andrew Thornton <art27@cantab.net>

* CI.restart()

Co-authored-by: Andrew Thornton <art27@cantab.net>
Lauris BH e710a34981
Add spent time to referenced issue in commit message ()
zeripath e770c2b850
Detect full references to issues and pulls in commit messages ()
Fix 

Signed-off-by: Andrew Thornton <art27@cantab.net>
guillep2k 131baa26be
Accept punctuation after simple+cross repository issue references ()
* Support references ending in , . and ;

* Accept :;, in simple refs; fix 2+ consecutive refs

* Include cross-repository references

* Add ?!, fix spacing problem
guillep2k 6a90c7e3dd Alternate syntax for cross references ()
* Add support for local vs. remote xrefs

* Add doc for references

* Docs: fix cases not currently supported

* One more doc fix

* Doc: mentions for teams and orgs

* Change !num ref concept, no change in functionality

* Fix test

* Improve table of issue reference types

* Fix paragraph mark
guillep2k b15f26b1cf Close/reopen issues by keywords in titles and comments ()
* Add close/reopen from comment functionality

* Fix comment

* Rewrite closing/reopening template

* Check xref permissions, move action to services/pull

* Fix RefIsPull field

* Add xref tests

* Fix xref unique filter

* Only highlight keywords for actionable xrefs

* Fix xref neuter filter

* Fix check return status

* Restart CI
guillep2k bb04fb55d7 Enable punctuations ending mentions ()
* Enable punctuations ending mentions

* Improve tests
guillep2k f9944c0e69 Configurable close and reopen keywords for PRs ()
* Add settings for CloseKeywords and ReopenKeywords

* Fix and improve tests

* Use sync.Once() for initialization

* Fix unintended exported function
guillep2k 15809d81f7 Rewrite reference processing code in preparation for opening/closing from comment references ()
* Add a markdown stripper for mentions and xrefs

* Improve comments

* Small code simplification

* Move reference code to modules/references

* Fix typo

* Make MarkdownStripper return [][]byte

* Implement preliminary keywords parsing

* Add FIXME comment

* Fix comment

* make fmt

* Fix permissions check

* Fix text assumptions

* Fix imports

* Fix lint, fmt

* Fix unused import

* Add missing export comment

* Bypass revive on implemented interface

* Move mdstripper into its own package

* Support alphanumeric patterns

* Refactor FindAllMentions

* Move mentions test to references

* Parse mentions from reference package

* Refactor code to implement renderizable references

* Fix typo

* Move patterns and tests to the references package

* Fix nil reference

* Preliminary rendering attempt of closing keywords

* Normalize names, comments, general tidy-up

* Add CSS style for action keywords

* Fix permission for admin and owner

* Fix golangci-lint

* Fix golangci-lint