* better commented KeywordsFound bitmask constants
* populate issueKeywordsToFind variable at point of definition rather
than in init()
* add needed `xorm:"-"` statements to the fields that were added to
Comment
* also move calculation of uniqueID out of loop
Commit features:
- renders reference comments only if their source still exists (except
for old style commit refs)
- allows for more complex rendering options, e.g. issue or commit
status, quoted comments, etc.
- properly handles updates to issue/PR titles, movement of repositories,
etc.
NOTE: Only the en_US locale is provided by this commit.
Add the LoadReference function to prepare data members of reference
types of comments for frontend rendering. Also prepares for the
transition of commit reference comments into a new message format.
The UpdateIssuesComment function is now being called when:
- a pull request is merged, so the pull request title or description can
open/close issues
- a new pull request is created, so it can reference an issue from its
title or description
- a new issue is created, so it can reference an issue from its title or
description
- a pull request or issue title or description is updated
- a comment is created or updated, so it can reference an issue from its
title or description
This makes it easier for user who want to theme but
don't have the ability to know how to customize templates
all that is required is a change in a config option
The reason why I chose the DEFAULT_THEME as variable,
as perhaps in the future we will allow users to chose their
theme whon logged in just like we do with languages
For each action that is displayed in either the public activity overview
of a user, or in the dashboard overview, the link to the username is now
extended with a title attribute to show the FullName as hover text
Signed-off-by: Guido Diepen <site-github@guidodiepen.nl>
* Repositories can only migrated to own user or organizations
* Add check for organization that user does not belong to
* Allow admin to migrate repositories for other users