zeripath
055f6d2296
Fix "data race" in testlogger ( #9159 )
...
* Fix data race in testlogger
* Update git_helper_for_declarative_test.go
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
guillep2k
2a2b46c62e
Reference issues from pull requests and other issues ( #8137 )
...
* Update ref comment
* Generate comment on simple ref
* Make fmt + remove unneeded repo load
* Add TODO comments
* Add ref-check in issue creation; re-arrange template
* Make unit tests pass; rearrange code
* Make fmt
* Filter out xref comment if user can't see the referencing issue
* Add TODOs
* Add cross reference
* Rearrange code; add cross-repository references
* Striketrhough obsolete references
* Remove unnecesary TODO
* Add "not supported" note
* Support for edits and deletes, and issue title
* Revert changes to go.mod
* Fix fmt
* Add support for xref from API
* Add first integration test
* Add integration tests
* Correct formatting
* Fix add comment test
* Add migration
* Remove outdated comments; fix typo
* Some code refactoring and rearranging
* Rename findCrossReferences to createCrossReferences
* Delete xrefs when repository is deleted
* Corrections as suggested by @lafriks
* Prepare for merge
* Fix log for errors
5 years ago
Ethan Koenig
befa7445d2
Unit tests for routers/repo/issue_label ( #3198 )
7 years ago
Lauris BH
240609432b
Issue content should not be updated when closing with comment ( #2833 )
7 years ago
Ethan Koenig
b0f7457d9e
Improve issue search ( #2387 )
...
* Improve issue indexer
* Fix new issue sqlite bug
* Different test indexer paths for each db
* Add integration indexer paths to make clean
7 years ago
Ethan Koenig
f1adaef458
Less verbose integration tests ( #2123 )
...
* Helper functions for intergration test boilerplate
7 years ago
Ethan Koenig
f64c232953
Improve integration test helper functions ( #2049 )
...
Set request headers in helper functions, and new helper for requests with string-formatted URLs
8 years ago
Mura Li
4d2ea7dc41
Add integration test for issue creating ( #2002 )
8 years ago
Bo-Yi Wu
90f9bb12c6
fix golint error and rename func for suggestion. ( #1997 )
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
8 years ago
Ethan Koenig
ce9b86082c
Consolidate boilerplate in integration tests ( #1979 )
8 years ago
Ethan Koenig
8fcda0442e
Fix search by issue type ( #1914 )
...
* Fix search by issue type
8 years ago
Ethan Koenig
61716bd8f7
Display URLs in integration test logs ( #1924 )
8 years ago
Ethan Koenig
bafd778c25
Fix invalid reference in feeds template ( #1820 )
...
* Fix invalid reference in feeds template
* Comment for GetActAvatar
* Add integration test
8 years ago
Lunny Xiao
e31c02d4bf
fix bug on issue view when not login ( #1624 )
...
* fix bug on issue view when not login
* hide issue watch when not login
* update the tests
* fix test on issue
8 years ago
Lunny Xiao
61b08b5c01
bug fixed for API to get user's repos ( #1622 )
...
* bug fixed for API to get user's repos
* add tests and fix another place
* test user2 since user1 has no repos
8 years ago
Lunny Xiao
fca7ddc6ea
improve integration test to resue models/fixtures and store git repos with tests ( #1627 )
...
* improve integration test to resue models/fixtures and store git repos with source
* use gitea-integration-meta dir instead .tar.gz and cleanup every before every test
* fix import package name
8 years ago
Ethan Koenig
c58708d3ee
Integration test framework ( #1290 )
...
* Integration test framework
* udpate drone sign
* Formatting fixes and move router.go to routers/
* update sign for drone
8 years ago