guillep2k
6a90c7e3dd
Alternate syntax for cross references ( #9116 )
...
* 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
5 years ago
guillep2k
b15f26b1cf
Close/reopen issues by keywords in titles and comments ( #8866 )
...
* 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
5 years ago
guillep2k
bb04fb55d7
Enable punctuations ending mentions ( #8889 )
...
* Enable punctuations ending mentions
* Improve tests
5 years ago
guillep2k
f9944c0e69
Configurable close and reopen keywords for PRs ( #8120 )
...
* Add settings for CloseKeywords and ReopenKeywords
* Fix and improve tests
* Use sync.Once() for initialization
* Fix unintended exported function
5 years ago
guillep2k
15809d81f7
Rewrite reference processing code in preparation for opening/closing from comment references ( #8261 )
...
* 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
5 years ago